summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_dsmark.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2013-12-10 13:55:29 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-11 04:44:51 +0100
commit17569faedf84768e76b204ba6d682022b830a3ed (patch)
tree2a20143f83d758cf95d5cb246a1d2bd84de68378 /net/sched/sch_dsmark.c
parentatm: solos-pci: remove unnecessary pci_set_drvdata() (diff)
downloadlinux-17569faedf84768e76b204ba6d682022b830a3ed.tar.xz
linux-17569faedf84768e76b204ba6d682022b830a3ed.zip
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>
Diffstat (limited to 'net/sched/sch_dsmark.c')
-rw-r--r--net/sched/sch_dsmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c
index 3886365cc207..0952fd2684e4 100644
--- a/net/sched/sch_dsmark.c
+++ b/net/sched/sch_dsmark.c
@@ -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 ------------------------- */