OSDN Git Service

wext: remove extra return on wireless_nlevent_init()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 27 Jul 2009 23:10:22 +0000 (16:10 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:43:20 +0000 (16:43 -0400)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext.c

index 3fe3c2c..5b4a0ce 100644 (file)
@@ -1291,7 +1291,6 @@ static struct pernet_operations wext_pernet_ops = {
 static int __init wireless_nlevent_init(void)
 {
        return register_pernet_subsys(&wext_pernet_ops);
-       return 0;
 }
 
 subsys_initcall(wireless_nlevent_init);