mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:30:52 +07:00
net/ipv6: Make ipv6_route_table_template static
ipv6_route_table_template is exported but there are no users outside of route.c. Make it static. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e75fa0735c
commit
ed792e28c4
@ -1089,8 +1089,6 @@ static inline int snmp6_unregister_dev(struct inet6_dev *idev) { return 0; }
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
extern struct ctl_table ipv6_route_table_template[];
|
||||
|
||||
struct ctl_table *ipv6_icmp_sysctl_init(struct net *net);
|
||||
struct ctl_table *ipv6_route_sysctl_init(struct net *net);
|
||||
int ipv6_sysctl_register(void);
|
||||
|
@ -5031,7 +5031,7 @@ int ipv6_sysctl_rtcache_flush(struct ctl_table *ctl, int write,
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct ctl_table ipv6_route_table_template[] = {
|
||||
static struct ctl_table ipv6_route_table_template[] = {
|
||||
{
|
||||
.procname = "flush",
|
||||
.data = &init_net.ipv6.sysctl.flush_delay,
|
||||
|
Loading…
Reference in New Issue
Block a user