diff options
| author | Yang Yingliang <[email protected]> | 2013-12-10 12:55:29 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-12-11 03:44:51 +0000 |
| commit | 17569faedf84768e76b204ba6d682022b830a3ed (patch) | |
| tree | 2a20143f83d758cf95d5cb246a1d2bd84de68378 /net/sched/act_api.c | |
| parent | atm: solos-pci: remove unnecessary pci_set_drvdata() (diff) | |
| download | kernel-17569faedf84768e76b204ba6d682022b830a3ed.tar.gz kernel-17569faedf84768e76b204ba6d682022b830a3ed.zip | |
net_sched: remove unnecessary parentheses while return
return is not a function, parentheses are not required.
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/act_api.c')
| -rw-r--r-- | net/sched/act_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 69cb848e8345..4adbce8f8314 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -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); |
