Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcd77db0 authored by David S. Miller's avatar David S. Miller
Browse files

net: Fix CONFIG_SYSCTL ifdef test.



> include/net/ip.h:211:5: warning: "CONFIG_SYSCTL" is not defined [-Wundef]
>  #if CONFIG_SYSCTL
>      ^

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd0d5e73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)