Re: [PATCH net-next 2/2] net/mlx5e: Move local var definition into ifdef block

2019-08-29 Thread Vlad Buslov
On Thu 29 Aug 2019 at 12:29, Sergei Shtylyov wrote: > Hello! > > On 28.08.2019 19:41, Vlad Buslov wrote: > >> New local variable "struct flow_block_offload *f" was added to >> mlx5e_setup_tc() in recent rtnl lock removal patches. The variable is used >> in code that is only compiled when CONFIG

Re: [PATCH net-next 2/2] net/mlx5e: Move local var definition into ifdef block

2019-08-29 Thread Sergei Shtylyov
Hello! On 28.08.2019 19:41, Vlad Buslov wrote: New local variable "struct flow_block_offload *f" was added to mlx5e_setup_tc() in recent rtnl lock removal patches. The variable is used in code that is only compiled when CONFIG_MLX5_ESWITCH is enabled. This results compilation warning about unus

[PATCH net-next 2/2] net/mlx5e: Move local var definition into ifdef block

2019-08-28 Thread Vlad Buslov
New local variable "struct flow_block_offload *f" was added to mlx5e_setup_tc() in recent rtnl lock removal patches. The variable is used in code that is only compiled when CONFIG_MLX5_ESWITCH is enabled. This results compilation warning about unused variable when CONFIG_MLX5_ESWITCH is not set. Mo