net_sched: remove unnecessary parentheses while return

return is not a function, parentheses are not required.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yang Yingliang 2013-12-10 20:55:29 +08:00 коммит произвёл David S. Miller
Родитель 109744c7cf
Коммит 17569faedf
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -191,7 +191,8 @@ u32 tcf_hash_new_index(u32 *idx_gen, struct tcf_hashinfo *hinfo)
val = 1;
} while (tcf_hash_lookup(val, hinfo));
return (*idx_gen = val);
*idx_gen = val;
return val;
}
EXPORT_SYMBOL(tcf_hash_new_index);

Просмотреть файл

@ -47,7 +47,7 @@ struct dsmark_qdisc_data {
static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index)
{
return (index <= p->indices && index > 0);
return index <= p->indices && index > 0;
}
/* ------------------------- Class/flow operations ------------------------- */