Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1404604

Re: [PATCH] net: pegasus: remove unused variables and labels

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: pegasus: remove unused variables and labels
Date 2016-05-20 18:50 +0200
Message-ID <rAVMC-7RU-13@gated-at.bofh.it> (permalink)
References <rANYJ-38Z-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnd Bergmann <arnd@arndb.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@arndb.de>
> Fixes: e00be9e4d0ff ("net: pegasus: remove dead coding")

The patch in question was broken and has been reverted.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: pegasus: remove unused variables and labels Arnd Bergmann <arnd@arndb.de> - 2016-05-20 10:30 +0200
  Re: [PATCH] net: pegasus: remove unused variables and labels Petko Manolov <petkan@mip-labs.com> - 2016-05-20 11:40 +0200
    Re: [PATCH] net: pegasus: remove unused variables and labels Arnd Bergmann <arnd@arndb.de> - 2016-05-20 12:10 +0200
  Re: [PATCH] net: pegasus: remove unused variables and labels David Miller <davem@davemloft.net> - 2016-05-20 18:50 +0200

csiph-web