Re: [PATCH net-next] cls_flower: remove mpls_opts_policy

2020-06-01 Thread David Miller
From: Guillaume Nault Date: Sat, 30 May 2020 20:49:56 +0200 > Compiling with W=1 gives the following warning: > net/sched/cls_flower.c:731:1: warning: ‘mpls_opts_policy’ defined but not > used [-Wunused-const-variable=] > > The TCA_FLOWER_KEY_MPLS_OPTS contains a list of > TCA_FLOWER_KEY_MPLS_O

[PATCH net-next] cls_flower: remove mpls_opts_policy

2020-05-30 Thread Guillaume Nault
Compiling with W=1 gives the following warning: net/sched/cls_flower.c:731:1: warning: ‘mpls_opts_policy’ defined but not used [-Wunused-const-variable=] The TCA_FLOWER_KEY_MPLS_OPTS contains a list of TCA_FLOWER_KEY_MPLS_OPTS_LSE. Therefore, the attributes all have the same type and we can't par