aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sched/sch_ingress.c9
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
222static int __init ingress_module_init(void) 222static 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
234static void __exit ingress_module_exit(void) 227static void __exit ingress_module_exit(void)