ethdev: fix redundant function pointer check
authorFerruh Yigit <ferruh.yigit@intel.com>
Sun, 28 Oct 2018 01:46:50 +0000 (01:46 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commit11745065a5b98957dc834b04a3b175c62ae8a70b
tree57db059b66ec3975d02b63b76dc6566efaa4ef19
parent708e14d8b9acfa4669d75d42d0c56537e02c2f04
ethdev: fix redundant function pointer check

RTE_FUNC_PTR_OR_ERR_RET() already does the `ethdev_uninit` NULL check.

Fixes: e489007a411c ("ethdev: add generic create/destroy ethdev APIs")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_ethdev/rte_ethdev.c