net: hns3: remove redundant variable 'protocol'
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Jul 2018 07:59:25 +0000 (08:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 13:39:11 +0000 (22:39 +0900)
commit8c3689fcc5985c06a8d057cde82d59da8ebe29e2
tree4bffc229955921860f1f4de321885ba6beb9e16d
parent1d981f1dbe14ebf96fe1b2de58b72f60e897fb91
net: hns3: remove redundant variable 'protocol'

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

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c