hv_netvsc: Remove unnecessary var link_state from struct netvsc_device_info
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 21 Jun 2017 23:40:46 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jun 2017 17:30:37 +0000 (13:30 -0400)
commitdedb459e13f05824bc33d2d861e9b576bfc8d0bb
treedc980d0f3ccee3cd137dbe3d7819df6990cf8708
parent00a3855d68bd1ae633c94b13b8b404a5a238b135
hv_netvsc: Remove unnecessary var link_state from struct netvsc_device_info

We simply use rndis_device->link_state in the netdev_dbg. The variable,
link_state from struct netvsc_device_info, is not used anywhere else.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/rndis_filter.c