Skip to content

Commit

Permalink
common/cnxk: remove dead code
Browse files Browse the repository at this point in the history
[ upstream commit 1ded7ef41ac888eb5e804d3337be687e5ebd324d ]

Removed dead code reported by Coverity.

Coverity issue: 380992
Fixes: da1ec39 ("common/cnxk: delay inline device RQ enable to dev start")

Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
  • Loading branch information
satheeshpaul authored and bluca committed Mar 13, 2024
1 parent 66dffe8 commit a1f69f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/common/cnxk/roc_nix_inl.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ roc_nix_reassembly_configure(uint32_t max_wait_time, uint16_t max_frags)
return -EFAULT;

PLT_SET_USED(max_frags);
if (idev == NULL)
return -ENOTSUP;

roc_cpt = idev->cpt;
if (!roc_cpt) {
plt_err("Cannot support inline inbound, cryptodev not probed");
Expand Down

0 comments on commit a1f69f5

Please sign in to comment.