linux-next: build warnings after merge of the net tree

2 messages, 2 authors, 2016-05-20 · open the first message on its own page

linux-next: build warnings after merge of the net tree

From: Stephen Rothwell <hidden>
Date: 2016-05-20 03:33:34

Hi all,

After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) produced these warnings:

drivers/net/usb/pegasus.c: In function 'read_bulk_callback':
drivers/net/usb/pegasus.c:475:1: warning: label 'goon' defined but not used [-Wunused-label]
 goon:
 ^
drivers/net/usb/pegasus.c:446:8: warning: unused variable 'pkt_len' [-Wunused-variable]
  __u16 pkt_len;
        ^
drivers/net/usb/pegasus.c:445:6: warning: unused variable 'buf' [-Wunused-variable]
  u8 *buf = urb->transfer_buffer;
      ^
drivers/net/usb/pegasus.c:443:17: warning: unused variable 'count' [-Wunused-variable]
  int rx_status, count = urb->actual_length;
                 ^

Introduced by commit

  e00be9e4d0ff ("net: pegasus: remove dead coding")



-- 
Cheers,
Stephen Rothwell

Re: linux-next: build warnings after merge of the net tree

From: David Miller <davem@davemloft.net>
Date: 2016-05-20 05:57:30

From: Stephen Rothwell <redacted>
Date: Fri, 20 May 2016 13:33:30 +1000
After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) produced these warnings:
 ...
Introduced by commit

  e00be9e4d0ff ("net: pegasus: remove dead coding")
This change has other problems too and I have just reverted it.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help