net/virtio: remove useless check on mempool
authorDavid Marchand <david.marchand@redhat.com>
Thu, 9 May 2019 08:03:48 +0000 (10:03 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Jun 2019 14:54:29 +0000 (23:54 +0900)
commit711b07ce6e2d6b2ac674fad909b5e2f7249bc7a3
tree76254f3a25b59011eee8c4fa967a7eda123bdd8d
parent02ad704708c878f4a4670b475e15734f8f1af162
net/virtio: remove useless check on mempool

This .rx_queue_setup devop is called after ethdev already dereferenced
the mempool pointer.
No need to check and we can remove this rte_exit.

Fixes: 48cec290a3d2 ("net/virtio: move queue configure code to proper place")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c