aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/smp.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-02-28 14:32:48 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-01 13:38:22 -0500
commit773daa3caf5d3f87fdb1ab43e9c1b367a38fa394 (patch)
tree96393fc1a0f61761d3ec262a2bbb2eba375ea4f4 /net/bluetooth/smp.c
parentMerge branch 'mlxsw-fixes' (diff)
downloadlinux-dev-773daa3caf5d3f87fdb1ab43e9c1b367a38fa394.tar.xz
linux-dev-773daa3caf5d3f87fdb1ab43e9c1b367a38fa394.zip
net: ipv4: avoid unused variable warning for sysctl
The newly introudced ip_min_valid_pmtu variable is only used when CONFIG_SYSCTL is set: net/ipv4/route.c:135:12: error: 'ip_min_valid_pmtu' defined but not used [-Werror=unused-variable] This moves it to the other variables like it, to avoid the harmless warning. Fixes: c7272c2f1229 ("net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions