net: hinic: remove redundant pointer pfhwdev
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Jul 2018 08:06:27 +0000 (09:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 13:39:11 +0000 (22:39 +0900)
commit541a1fecff3082664193c4615d2368186bd80dd5
tree0ae3901a706e25335629de34d8c5583dd4aa2a08
parent8c3689fcc5985c06a8d057cde82d59da8ebe29e2
net: hinic: remove redundant pointer pfhwdev

Pointer pfhwdev is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'pfhwdev' 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/huawei/hinic/hinic_hw_dev.c