Re: [PATCH] netfilter: nfnl_hook: fix unused variable warning

From: Pablo Neira Ayuso
Date: Fri Jul 23 2021 - 08:33:44 EST


On Wed, Jul 21, 2021 at 05:22:32PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The only user of this variable is in an #ifdef:
>
> net/netfilter/nfnetlink_hook.c: In function 'nfnl_hook_entries_head':
> net/netfilter/nfnetlink_hook.c:177:28: error: unused variable 'netdev' [-Werror=unused-variable]

Applied, thanks.