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:
stephen hemminger 2010-10-01 13:58:00 +00:00 committed by David S. Miller
parent 94d57c4cfa
commit ddcb4541e9
1 changed files with 1 additions and 1 deletions

View File

@ -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)