File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ struct lwtunnel_encap_ops {
31
31
int (* cmp_encap )(struct lwtunnel_state * a , struct lwtunnel_state * b );
32
32
};
33
33
34
- extern const struct lwtunnel_encap_ops __rcu *
35
- lwtun_encaps [LWTUNNEL_ENCAP_MAX + 1 ];
36
-
37
34
#ifdef CONFIG_LWTUNNEL
38
35
static inline struct lwtunnel_state *
39
36
lwtstate_get (struct lwtunnel_state * lws )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ struct lwtunnel_state *lwtunnel_state_alloc(int encap_len)
37
37
}
38
38
EXPORT_SYMBOL (lwtunnel_state_alloc );
39
39
40
- const struct lwtunnel_encap_ops __rcu *
40
+ static const struct lwtunnel_encap_ops __rcu *
41
41
lwtun_encaps [LWTUNNEL_ENCAP_MAX + 1 ] __read_mostly ;
42
42
43
43
int lwtunnel_encap_add_ops (const struct lwtunnel_encap_ops * ops ,
You can’t perform that action at this time.
0 commit comments