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

Pablo Neira Ayuso
2021-07-23T12:33:44Z

On Wed, Jul 21, 2021 at 05:22:32PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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.