[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201102160334.617fe68a@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Mon, 2 Nov 2020 16:03:34 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev <netdev@...r.kernel.org>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>
Subject: Re: [PATCH net-next] drivers: net: xen-netfront: Fixed W=1 set but
unused warnings
On Sat, 31 Oct 2020 19:04:35 +0100 Andrew Lunn wrote:
> drivers/net/xen-netfront.c:2416:16: warning: variable ‘target’ set but not used [-Wunused-but-set-variable]
> 2416 | unsigned long target;
>
> Remove target and just discard the return value from simple_strtoul().
>
> This patch does give a checkpatch warning, but the warning was there
> before anyway, as this file has lots of checkpatch warnings.
>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Applied, thanks!
Powered by blists - more mailing lists