baseband/acc100: remove useless checks
authorNicolas Chautru <nicolas.chautru@intel.com>
Mon, 19 Oct 2020 21:09:57 +0000 (14:09 -0700)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 2 Nov 2020 08:24:40 +0000 (09:24 +0100)
commit95ddd8ffc44ef5be5be5338f5ea3bd3f2f172d07
tree46bb31db2496e614d7c1401cc823be52a9edcdb1
parent240fb56cdb8a4d48359f83b2cb856410016b9207
baseband/acc100: remove useless checks

Coverity reported dead code for a few error
checks which are indeed not reachable.

Coverity issue: 363451, 363454, 363455
Fixes: 5ad5060f8f7a ("baseband/acc100: add LDPC processing functions")
Fixes: f404dfe35cc3 ("baseband/acc100: support 4G processing")

Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
drivers/baseband/acc100/rte_acc100_pmd.c