diff options
author | David S. Miller <davem@davemloft.net> | 2014-05-15 13:43:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-15 13:43:14 -0400 |
commit | fcd77db07dd2b8d35e0db0d1209f2ce1bb05531e (patch) | |
tree | e4757dc8c64bde1db4a19dd8daa81d8f931d0d27 /include/net/ip.h | |
parent | fd0d5e7368306b467fbce0ad9f6e680bdcc5c386 (diff) | |
download | op-kernel-dev-fcd77db07dd2b8d35e0db0d1209f2ce1bb05531e.zip op-kernel-dev-fcd77db07dd2b8d35e0db0d1209f2ce1bb05531e.tar.gz |
net: Fix CONFIG_SYSCTL ifdef test.
> include/net/ip.h:211:5: warning: "CONFIG_SYSCTL" is not defined [-Wundef]
> #if CONFIG_SYSCTL
> ^
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 512bcd5..2e49478 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -208,7 +208,7 @@ static inline u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_o void inet_get_local_port_range(struct net *net, int *low, int *high); -#if CONFIG_SYSCTL +#ifdef CONFIG_SYSCTL static inline int inet_is_local_reserved_port(struct net *net, int port) { if (!net->ipv4.sysctl_local_reserved_ports) |