summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/tlan.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-16 13:38:22 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-16 17:33:11 -0700
commit287debd6aac5b9f60113d45931a53da0cd4adc94 (patch)
tree55630ac4753236a9ced178cdce0518c2c80329a6 /drivers/net/ethernet/ti/tlan.c
parent55e7f6abe131529a786e13464515015064f19e7d (diff)
downloadlinux-287debd6aac5b9f60113d45931a53da0cd4adc94.tar.bz2
net: qlcnic: don't set unused function argument
We get a warning for qlcnic_83xx_get_mac_address when building with "make W=1": drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c: In function 'qlcnic_83xx_get_mac_address': drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:2156:8: error: parameter 'function' set but not used [-Werror=unused-but-set-parameter] Clearly this is harmless, but there is also no point for setting the variable, so we can simply remove the assignment. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Rajesh Borundia <rajesh.borundia@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/tlan.c')
0 files changed, 0 insertions, 0 deletions