Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1628405
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] liquidio: remove unnecessary variable assignment |
| Date | 2017-04-21 20:20 +0200 |
| Message-ID | <tyLjY-Fc-21@gated-at.bofh.it> (permalink) |
| References | <ty1Ka-6hB-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 19 Apr 2017 19:30:59 +0200
> gcc points out an useless assignment that was added during code refactoring:
>
> drivers/net/ethernet/cavium/liquidio/lio_ethtool.c: In function 'octnet_intrmod_callback':
> drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:1315:59: error: parameter 'oct_dev' set but not used [-Werror=unused-but-set-parameter]
>
> This is harmless but can clearly be remove to avoid the warning.
>
> Fixes: 50c0add534d2 ("liquidio: refactor interrupt moderation code")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] liquidio: remove unnecessary variable assignment Arnd Bergmann <arnd@arndb.de> - 2017-04-19 19:40 +0200 Re: [PATCH net-next] liquidio: remove unnecessary variable assignment David Miller <davem@davemloft.net> - 2017-04-21 20:20 +0200
csiph-web