net/liquidio: fix null pointer check
authorShijith Thotton <shijith.thotton@caviumnetworks.com>
Mon, 10 Apr 2017 07:18:56 +0000 (12:48 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit21ea96388eef6f33bd3f0cbfea1554c394ada4d8
tree24de3d7f9aa9137957d7eecceefd3723a61af332
parentde6d0f59f0b5f5897bbc95c248cb5ee06df2ac4d
net/liquidio: fix null pointer check

Fix null pointer check in release Rx/Tx queue APIs.

Coverity issue: 1423923
Coverity issue: 1423924
Fixes: 9a30013b9884 ("net/liquidio: add API to release Rx queue")
Fixes: cf6bfcbea178 ("net/liquidio: add API to release Tx queue")

Signed-off-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
drivers/net/liquidio/lio_ethdev.c