diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-08-19 01:30:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-19 01:30:01 -0400 |
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 d91a2338877c..9372ec41ce84 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -1088,14 +1088,13 @@ create_n_graft: | |||
1088 | } | 1088 | } |
1089 | 1089 | ||
1090 | graft: | 1090 | graft: |
1091 | if (1) { | 1091 | err = qdisc_graft(dev, p, skb, n, clid, q, NULL); |
1092 | err = qdisc_graft(dev, p, skb, n, clid, q, NULL); | 1092 | if (err) { |
1093 | if (err) { | 1093 | if (q) |
1094 | if (q) | 1094 | qdisc_destroy(q); |
1095 | qdisc_destroy(q); | 1095 | return err; |
1096 | return err; | ||
1097 | } | ||
1098 | } | 1096 | } |
1097 | |||
1099 | return 0; | 1098 | return 0; |
1100 | } | 1099 | } |
1101 | 1100 | ||