mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 22:40:51 +07:00
gre: protocol table can be static
This table is only used in gre.c Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
94d57c4cfa
commit
ddcb4541e9
@ -22,7 +22,7 @@
|
||||
#include <net/gre.h>
|
||||
|
||||
|
||||
const struct gre_protocol *gre_proto[GREPROTO_MAX] __read_mostly;
|
||||
static const struct gre_protocol *gre_proto[GREPROTO_MAX] __read_mostly;
|
||||
static DEFINE_SPINLOCK(gre_proto_lock);
|
||||
|
||||
int gre_add_protocol(const struct gre_protocol *proto, u8 version)
|
||||
|
Loading…
Reference in New Issue
Block a user