Re: [PATCH net-next] net: ethernet: dpaa: remove unused variables
From: David Miller
Date: Wed Sep 26 2018 - 13:35:09 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Wed, 26 Sep 2018 15:12:13 +0200
> The patch that removed the only users of the oldadv/newadv variables
> accidentally left the now-unused declarations behind:
>
> drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function 'dpaa_set_pauseparam':
> drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:185:14: error: unused variable 'oldadv' [-Werror=unused-variable]
> drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:185:6: error: unused variable 'newadv' [-Werror=unused-variable]
>
> Fixes: 70814e819c11 ("net: ethernet: Add helper for set_pauseparam for Asym Pause")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Applied.