netvsc: eliminate unnecessary skb == NULL checks
authorstephen hemminger <stephen@networkplumber.org>
Wed, 22 Mar 2017 21:51:04 +0000 (14:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:38:57 +0000 (19:38 -0700)
commitebc1dcf6008e562a8f88a6b1f4a4705f4d4c4fdd
tree3edbfe26f81ae82a45b3cd0d8686fa8de05a252c
parent00ecfb3b34b69dd702dee1bd6de6fc100be384db
netvsc: eliminate unnecessary skb == NULL checks

Since there already is a special case goto for control messages (skb == NULL)
in netvsc_send, there is no need for later checks in same code path.

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