hv_netvsc: simplify callback event code
authorStephen Hemminger <sthemmin@microsoft.com>
Thu, 22 Sep 2016 23:56:31 +0000 (16:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 12:39:49 +0000 (08:39 -0400)
commitee837a137304290a1ae26980c73a367f7afef54f
tree52985b2475a4c966d8d6ca3a1193920f6a030d55
parent07d0f0008c783d2a2fce8497000938db15fd7aa1
hv_netvsc: simplify callback event code

The callback handler for netlink events can be simplified:
 * Consolidate check for netlink callback events about this driver itself.
 * Ignore non-Ethernet devices.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c