net/ice: fix unchecked Tx cleanup error
authorSunil Pai G <sunil.pai.g@intel.com>
Wed, 12 Feb 2020 05:37:10 +0000 (05:37 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Feb 2020 11:42:13 +0000 (12:42 +0100)
commitfe38133c42d846613a41beff49ab0e1b9a3e0e61
tree10452ffe4075eefc1b3d346e97aa80300bd0cdb3
parent150c9ac2df13b1ab1a0ad723f74004346d8ecd65
net/ice: fix unchecked Tx cleanup error

Coverity complains of unchecked return value warning of
ice_xmit_cleanup, while this cleanup is opportunistic and will not cause
problems if it fails. So instead of checking the return value of
ice_xmit_cleanup and return in case of cleanup failure, we directly cast
it to void function to make the Coverity happy.

Coverity issue: 353623
Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
Cc: stable@dpdk.org
Signed-off-by: Sunil Pai G <sunil.pai.g@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_rxtx.c