diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sched/sch_ingress.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c index 4c7f7e712918..72525710b66f 100644 --- a/net/sched/sch_ingress.c +++ b/net/sched/sch_ingress.c | |||
@@ -221,14 +221,7 @@ static struct Qdisc_ops ingress_qdisc_ops __read_mostly = { | |||
221 | 221 | ||
222 | static int __init ingress_module_init(void) | 222 | static int __init ingress_module_init(void) |
223 | { | 223 | { |
224 | int ret = 0; | 224 | return register_qdisc(&ingress_qdisc_ops); |
225 | |||
226 | if ((ret = register_qdisc(&ingress_qdisc_ops)) < 0) { | ||
227 | printk("Unable to register Ingress qdisc\n"); | ||
228 | return ret; | ||
229 | } | ||
230 | |||
231 | return ret; | ||
232 | } | 225 | } |
233 | 226 | ||
234 | static void __exit ingress_module_exit(void) | 227 | static void __exit ingress_module_exit(void) |