]> git.baikalelectronics.ru Git - kernel.git/commit
staging: octeon: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Fri, 17 Feb 2017 14:32:23 +0000 (15:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2017 08:45:07 +0000 (09:45 +0100)
commit6ce74fdc468d1c90a7fdbaa50f51c4b24a38483f
tree969100e0ad591ac3a2f2456fd5570bbc781ff4a3
parente2498e86ce9986ca81e99061a66c6a155598a5fb
staging: octeon: remove unused variable

A cleanup patch left one local variable without a reference:

drivers/staging/octeon/ethernet-rx.c:339:28: warning: unused variable 'priv' [-Wunused-variable]

This removes the declaration too.

Fixes: 25666efca8d7 ("staging: octeon: Use net_device_stats from struct net_device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c