[NETNS][IPV6] mcast - fix compilation warning when procfs is not compiled in
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 21 Mar 2008 11:10:53 +0000 (04:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Mar 2008 11:10:53 +0000 (04:10 -0700)
commitea82edf704f6bf3c3a51d0dbee816c5bbc6d3974
treefd0fd1832bedaeaabb4ec6ed228389de7a9b5b18
parent82cc1a7a56872056af0ead6c7d695aa223f36695
[NETNS][IPV6] mcast - fix compilation warning when procfs is not compiled in

When CONFIG_PROC_FS=no, the out_sock_create label is not used because
the code using it is disabled and that leads to a warning at compile
time.

This patch fix that by making a specific function to initialize proc
for igmp6, and remove the annoying CONFIG_PROC_FS sections in
init/exit function.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c