Re: [PATCH net-next] liquidio: remove unnecessary variable assignment
From: David Miller
Date: Fri Apr 21 2017 - 14:06:44 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
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@xxxxxxxx>
Applied.