summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipconfig.c
diff options
context:
space:
mode:
authorEldad Zack <eldad@fogrefinery.com>2012-05-19 14:04:39 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-20 04:06:16 -0400
commitb37f4d7b011955c84cdbb8c370927d93701fb174 (patch)
tree47f2b6d1175211041a85021ea4a588067e3f9f75 /net/ipv4/ipconfig.c
parent88c16dc3bb61a1c1e9d4c78f45cc2107bc8d5249 (diff)
downloadlinux-b37f4d7b011955c84cdbb8c370927d93701fb174.tar.bz2
net/ipv4/ipconfig: neaten __setup placement
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>
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r--net/ipv4/ipconfig.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
index 430015010e57..67e8a6b086ea 100644
--- a/net/ipv4/ipconfig.c
+++ b/net/ipv4/ipconfig.c
@@ -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);