projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4e402
)
qdisc: basic classifier - remove unnecessary initialization
author
stephen hemminger
<stephen@networkplumber.org>
Fri, 27 Sep 2013 00:42:16 +0000
(17:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 30 Sep 2013 19:47:43 +0000
(15:47 -0400)
err is set once, then first code resets it.
err = tcf_exts_validate(...)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jamal Hadi Salim <hadi@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_basic.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/cls_basic.c
b/net/sched/cls_basic.c
index d76a35d0dc85b82ddd9b8f2cc037b1ff0d31f5d5..636d9131d87016a46597af5cadd3471d21e1798f 100644
(file)
--- a/
net/sched/cls_basic.c
+++ b/
net/sched/cls_basic.c
@@
-137,7
+137,7
@@
static int basic_set_parms(struct net *net, struct tcf_proto *tp,
struct nlattr **tb,
struct nlattr *est)
{
- int err
= -EINVAL
;
+ int err;
struct tcf_exts e;
struct tcf_ematch_tree t;