From: Daniel Lezcano Date: Fri, 21 Mar 2008 11:10:53 +0000 (-0700) Subject: [NETNS][IPV6] mcast - fix compilation warning when procfs is not compiled in X-Git-Tag: v2.6.26-rc1~1138^2~411 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea82edf704f6bf3c3a51d0dbee816c5bbc6d3974;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed