]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit646921b6e73334eaca7f7bb70172cf952542e42a
tree3edbfe26f81ae82a45b3cd0d8686fa8de05a252c
parentf6f6d511e45e91d73847dac1efda64ef39117055
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