net/ipv4/ipconfig: neaten __setup placement
authorEldad Zack <eldad@fogrefinery.com>
Sat, 19 May 2012 14:04:39 +0000 (14:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2012 08:06:16 +0000 (04:06 -0400)
The __setup macro should follow the corresponding setup handler.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipconfig.c

index 430015010e5740854ed3384cc8cc303f311e6922..67e8a6b086ea7a0d2c4cc986ed6ed0e6b4414c6a 100644 (file)
@@ -1621,11 +1621,13 @@ static int __init ip_auto_config_setup(char *addrs)
 
        return 1;
 }
+__setup("ip=", ip_auto_config_setup);
 
 static int __init nfsaddrs_config_setup(char *addrs)
 {
        return ip_auto_config_setup(addrs);
 }
+__setup("nfsaddrs=", nfsaddrs_config_setup);
 
 static int __init vendor_class_identifier_setup(char *addrs)
 {
@@ -1636,7 +1638,4 @@ static int __init vendor_class_identifier_setup(char *addrs)
                        vendor_class_identifier);
        return 1;
 }
-
-__setup("ip=", ip_auto_config_setup);
-__setup("nfsaddrs=", nfsaddrs_config_setup);
 __setup("dhcpclass=", vendor_class_identifier_setup);