diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-02-12 22:37:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-12 22:37:19 -0800 |
commit | 56628b1d8964eb7ac924154d60b5d874bfb2b1e8 (patch) | |
tree | aa613aac941bdffe6b328d23aac3d3d97a46ec1e /net/netlabel/Kconfig | |
parent | 94de7feb2dee6d0039ecbe98ae8b63bbb63808b6 (diff) | |
download | op-kernel-dev-56628b1d8964eb7ac924154d60b5d874bfb2b1e8.zip op-kernel-dev-56628b1d8964eb7ac924154d60b5d874bfb2b1e8.tar.gz |
[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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel/Kconfig')
0 files changed, 0 insertions, 0 deletions