diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-06-16 13:38:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-16 17:33:12 -0700 |
commit | 40309d26549ec29cfc91d9ee5fc6f06083b97fe5 (patch) | |
tree | af227b8a1a52e8292fdab3dc91307b63d9aa0beb /scripts/stackdelta | |
parent | 287debd6aac5b9f60113d45931a53da0cd4adc94 (diff) | |
download | linux-40309d26549ec29cfc91d9ee5fc6f06083b97fe5.tar.bz2 |
net: tlan: don't set unused function argument
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions