diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-27 14:52:01 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2016-02-18 09:17:58 +0900 |
commit | f6ca9f46f6615c3a87529550058d1b468c0cad89 (patch) | |
tree | 4106943604294cdc90372de26d54c8e2b6e2b05c /sound/soc/au1x | |
parent | 2d9e9b0d05876c9e6b52cfec142e51da9b9b3f6d (diff) | |
download | linux-f6ca9f46f6615c3a87529550058d1b468c0cad89.tar.bz2 |
netfilter: ipvs: avoid unused variable warnings
The proc_create() and remove_proc_entry() functions do not reference
their arguments when CONFIG_PROC_FS is disabled, so we get a couple
of warnings about unused variables in IPVS:
ipvs/ip_vs_app.c:608:14: warning: unused variable 'net' [-Wunused-variable]
ipvs/ip_vs_ctl.c:3950:14: warning: unused variable 'net' [-Wunused-variable]
ipvs/ip_vs_ctl.c:3994:14: warning: unused variable 'net' [-Wunused-variable]
This removes the local variables and instead looks them up separately
for each use, which obviously avoids the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 4c50a8ce2b63 ("netfilter: ipvs: avoid unused variable warning")
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'sound/soc/au1x')
0 files changed, 0 insertions, 0 deletions