]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0799e33792695dfbde23903feb83a688c2ea006a
treefd0fd1832bedaeaabb4ec6ed228389de7a9b5b18
parent155d6f5f4ef374de810afa8a5e39011fe99ea508
[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