tuntap: remove unnecessary sk_receive_queue length check during xmit
authorJason Wang <jasowang@redhat.com>
Wed, 23 Nov 2016 02:26:49 +0000 (10:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 21:06:56 +0000 (16:06 -0500)
commit436accebb53021ef7c63535f60bda410aa87c136
tree08b17a57a6ab38417ceff1c9979521f21e7d96f0
parentdb6a71dd9a75fb07f6758582299acfe1ab5827dc
tuntap: remove unnecessary sk_receive_queue length check during xmit

After commit 1576d9860599 ("tun: switch to use skb array for tx"),
sk_receive_queue was not used any more. So remove the uncessary
sk_receive_queue length check during xmit.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c