[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161109.190011.497365572468997601.davem@davemloft.net>
Date: Wed, 09 Nov 2016 19:00:11 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: jbenc@...hat.com, hannes@...essinduktion.org, aduyck@...antis.com,
pshelar@....org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vxlan: hide unused local variable
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 7 Nov 2016 22:09:07 +0100
> A bugfix introduced a harmless warning in v4.9-rc4:
>
> drivers/net/vxlan.c: In function 'vxlan_group_used':
> drivers/net/vxlan.c:947:21: error: unused variable 'sock6' [-Werror=unused-variable]
>
> This hides the variable inside of the same #ifdef that is
> around its user. The extraneous initialization is removed
> at the same time, it was accidentally introduced in the
> same commit.
>
> Fixes: c6fcc4fc5f8b ("vxlan: avoid using stale vxlan socket.")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists