projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f59365
)
pkt_sched: remove bogus block (cleanup)
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Tue, 19 Aug 2008 05:30:01 +0000
(22:30 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 Aug 2008 05:30:01 +0000
(22:30 -0700)
...Last block local var got just deleted.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_api.c
b/net/sched/sch_api.c
index d91a2338877cbc108a650cf27df5f147a165de23..9372ec41ce844b6c6a5b58f89b41e21459587263 100644
(file)
--- a/
net/sched/sch_api.c
+++ b/
net/sched/sch_api.c
@@
-1088,14
+1088,13
@@
create_n_graft:
}
graft:
- if (1) {
- err = qdisc_graft(dev, p, skb, n, clid, q, NULL);
- if (err) {
- if (q)
- qdisc_destroy(q);
- return err;
- }
+ err = qdisc_graft(dev, p, skb, n, clid, q, NULL);
+ if (err) {
+ if (q)
+ qdisc_destroy(q);
+ return err;
}
+
return 0;
}