diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-08-18 22:30:01 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-18 22:30:01 -0700 |
commit | e5befbd9525d92bb074b70192eb2c69aae65fc60 (patch) | |
tree | ad9a3ce178096938f3ccb8c4445d71ace63f3e61 /net/sched/sch_api.c | |
parent | 9f593653742d1dd816c4e94c6e5154a57ccba6d1 (diff) |
pkt_sched: remove bogus block (cleanup)
...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>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r-- | net/sched/sch_api.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index d91a2338877..9372ec41ce8 100644 --- 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; } |