[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161018.102834.1105390902417549378.davem@davemloft.net>
Date: Tue, 18 Oct 2016 10:28:34 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: arvid.brodin@...en.se, netdev@...r.kernel.org
Subject: Re: [PATCH] net/hsr: Remove unused but set variable
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Tue, 18 Oct 2016 09:07:29 +0200
> Remove the unused but set variable master_dev in check_local_dest to fix
> the following GCC warning when building with 'W=1':
>
> net/hsr/hsr_forward.c: In function ‘check_local_dest’:
> net/hsr/hsr_forward.c:303:21: warning: variable ‘master_dev’ set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied.
Powered by blists - more mailing lists