net: virtio: simplify the virtnet_find_vqs
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Thu, 31 May 2018 14:16:32 +0000 (07:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 13:33:22 +0000 (09:33 -0400)
commit2fa3c8a8b23041490b279d2630f1cfc9fae242fb
tree22e63448da3a3f17208f0421860f85b676875d1c
parentf624434a0ec96ac338f10f3f7f5a2ef287dd597e
net: virtio: simplify the virtnet_find_vqs

Use the common free functions while return successfully.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c