Commit ddcb4541 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

gre: protocol table can be static

This table is only used in gre.c
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 94d57c4c
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment