From: Simon Horman Date: Fri, 4 Feb 2011 09:33:02 +0000 (+0900) Subject: IPVS: Minimise ip_vs_leave when CONFIG_SYSCTL is undefined X-Git-Tag: v2.6.39-rc1~468^2~26^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7a86b8616bc1595c4f5f109b7c39d4eb5d55e32;p=pandora-kernel.git IPVS: Minimise ip_vs_leave when CONFIG_SYSCTL is undefined Much of ip_vs_leave() is unnecessary if CONFIG_SYSCTL is undefined. I tried an approach of breaking the now #ifdef'ed portions out into a separate function. However this appeared to grow the compiled code on x86_64 by about 200 bytes in the case where CONFIG_SYSCTL is defined. So I have gone with the simpler though less elegant #ifdef'ed solution for now. Signed-off-by: Simon Horman --- Reading git-diff-tree failed