Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1618297
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] net: usbnet: Remove unused driver_name variable |
| Date | 2017-04-06 21:30 +0200 |
| Message-ID | <ttlgu-54H-13@gated-at.bofh.it> (permalink) |
| References | <tsHM5-4f4-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Florian Fainelli <f.fainelli@gmail.com> Date: Tue, 4 Apr 2017 18:16:57 -0700 > With GCC 6.3, we can get the following warning: > > drivers/net/usb/usbnet.c:85:19: warning: 'driver_name' defined but not > used [-Wunused-const-variable=] > static const char driver_name [] = "usbnet"; > ^~~~~~~~~~~ > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] net: usbnet: Remove unused driver_name variable Florian Fainelli <f.fainelli@gmail.com> - 2017-04-05 03:20 +0200 Re: [PATCH net-next] net: usbnet: Remove unused driver_name variable David Miller <davem@davemloft.net> - 2017-04-06 21:30 +0200
csiph-web