[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160520.094031.1022047118545506778.davem@davemloft.net>
Date: Fri, 20 May 2016 09:40:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: petkan@...leusys.com, xypron.glpk@....de,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: pegasus: remove unused variables and labels
From: Arnd Bergmann <arnd@...db.de>
Date: Fri, 20 May 2016 10:22:30 +0200
> The latest dead-code removal was slightly incomplete and
> left a few things behind that we now get compiler warnings
> for:
>
> drivers/net/usb/pegasus.c: In function 'read_bulk_callback':
> drivers/net/usb/pegasus.c:475:1: error: label 'goon' defined but not used [-Werror=unused-label]
> drivers/net/usb/pegasus.c:446:8: error: unused variable 'pkt_len' [-Werror=unused-variable]
> drivers/net/usb/pegasus.c:445:6: error: unused variable 'buf' [-Werror=unused-variable]
> drivers/net/usb/pegasus.c:443:17: error: unused variable 'count' [-Werror=unused-variable]
>
> This removes them as well.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Fixes: e00be9e4d0ff ("net: pegasus: remove dead coding")
The patch in question was broken and has been reverted.
Powered by blists - more mailing lists