hv_netvsc: rearrange start_xmit
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 23 Aug 2016 19:17:52 +0000 (12:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 19:05:37 +0000 (12:05 -0700)
commit0ab05141f97de2ac954c267c27b256ebd241e762
tree38c18ff8f67c8eadbf7add29ce4d9eec9f1bb850
parentfd612602d6a7919982779fda914bd521e5778593
hv_netvsc: rearrange start_xmit

Rearrange the transmit routine to eliminate goto's and unnecessary
boolean variables. Use standard functions to test for vlan tag.

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