mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mpls: rtm_mpls_policy[] can be static
Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c473463ca7
commit
f0126539c7
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ static struct packet_type mpls_packet_type __read_mostly = {
|
|||
.func = mpls_forward,
|
||||
};
|
||||
|
||||
const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
|
||||
static const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
|
||||
[RTA_DST] = { .type = NLA_U32 },
|
||||
[RTA_OIF] = { .type = NLA_U32 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue