]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: dpaa: remove unused variables
authorArnd Bergmann <arnd@arndb.de>
Wed, 26 Sep 2018 13:12:13 +0000 (15:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:25:11 +0000 (10:25 -0700)
commita8fe16aff59d7280b5d28d99f527f328256e005d
tree66d4258d7889f6060855e706c5d907f2063aab31
parent78d3f8d809bfea62133ca4af2103e2bbd337997e
net: ethernet: dpaa: remove unused variables

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: 05c5f2f34b18 ("net: ethernet: Add helper for set_pauseparam for Asym Pause")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c