liquidio: remove unnecessary variable assignment
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Apr 2017 17:30:59 +0000 (19:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2017 17:25:34 +0000 (13:25 -0400)
commitca1cb28da00448fdbddc99ee6d410f461bb619b5
tree2c9278ae27df99418d08e7e6435bf23a06e7c4d2
parent7acf8a1e8a28b3d7407a8d8061a7d0766cfac2f4
liquidio: remove unnecessary variable assignment

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c