staging: ks7010: remove redundant variable eth_proto
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Jul 2018 10:59:11 +0000 (11:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jul 2018 11:12:34 +0000 (13:12 +0200)
commit15fc3e4a08872dafe0e4f32a8fda5694ee3a6f03
tree133061bfded2bf9a0d138cf225d4d62f97a49cc3
parentd8353a75005d518293307b3da7c919b08a778864
staging: ks7010: remove redundant variable eth_proto

Variable eth_proto is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'eth_proto' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c