From: Pavel Emelyanov Date: Tue, 11 Dec 2007 10:17:40 +0000 (-0800) Subject: [IPV4]: Cleanup sysctl manipulations in devinet.c X-Git-Tag: v2.6.25-rc1~1162^2~1158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51602b2a5e849babd94311e555bf1ba58151b8d4;p=pandora-kernel.git [IPV4]: Cleanup sysctl manipulations in devinet.c This includes: * moving neigh_sysctl_(un)register calls inside devinet_sysctl_(un)register ones, as they are always called in pairs; * making __devinet_sysctl_unregister() to unregister the ipv4_devconf struct, while original devinet_sysctl_unregister() works with the in_device to handle both - devconf and neigh sysctls; * make stubs for CONFIG_SYSCTL=n case to get rid of in-code ifdefs. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed