Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1424561
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/5] net: tlan: don't set unused function argument |
| Date | 2016-06-17 02:40 +0200 |
| Message-ID | <rKPZf-7Fj-15@gated-at.bofh.it> (permalink) |
| References | <rKDOp-7Nv-7@gated-at.bofh.it> <rKDOp-7Nv-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Arnd Bergmann <arnd@arndb.de> Date: Thu, 16 Jun 2016 13:38:23 +0200 > We get a warning for tlan_handle_tx_eoc when building with "make W=1" > > drivers/net/ethernet/ti/tlan.c: In function 'tlan_handle_tx_eoc': > drivers/net/ethernet/ti/tlan.c:1647:59: error: parameter 'host_int' set but not used [-Werror=unused-but-set-parameter] > static u32 tlan_handle_tx_eoc(struct net_device *dev, u16 host_int) > > This is harmless, but removing the unused assignment lets us avoid > the warning with no downside. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Applied to net-next.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/5] net: tlan: don't set unused function argument Arnd Bergmann <arnd@arndb.de> - 2016-06-16 13:40 +0200 Re: [PATCH 2/5] net: tlan: don't set unused function argument David Miller <davem@davemloft.net> - 2016-06-17 02:40 +0200
csiph-web