From: Pavel Emelyanov Date: Wed, 13 Feb 2008 06:37:19 +0000 (-0800) Subject: [NETLABEL]: Don't produce unused variables when IPv6 is off. X-Git-Tag: v2.6.25-rc2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56628b1d8964eb7ac924154d60b5d874bfb2b1e8;p=pandora-kernel.git [NETLABEL]: Don't produce unused variables when IPv6 is off. Some code declares variables on the stack, but uses them under #ifdef CONFIG_IPV6, so thay become unused when ipv6 is off. Fortunately, they are used in a switch's case branches, so the fix is rather simple. Is it OK from coding style POV to add braces inside "cases", or should I better avoid such style and rework the patch? Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed