Thread (2 messages) flat view 2 messages, 2 authors, 2021-07-23

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

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2021-07-23 12:33:44
Also in: lkml, netfilter-devel

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help