From: Satha Rao <skotesh...@marvell.com>

Removed condition that doesn't have any effect on code flow.

Coverity issue: 385405
Fixes: 4d00b8c6a331 ("common/cnxk: allocate dynamic BPIDs")

Signed-off-by: Satha Rao <skotesh...@marvell.com>
---
 drivers/common/cnxk/roc_nix_fc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/common/cnxk/roc_nix_fc.c b/drivers/common/cnxk/roc_nix_fc.c
index f79baf9..d8ca5f9 100644
--- a/drivers/common/cnxk/roc_nix_fc.c
+++ b/drivers/common/cnxk/roc_nix_fc.c
@@ -750,8 +750,6 @@ enum roc_nix_fc_mode
        req->read = 0;
 
        rc = mbox_process(mbox);
-       if (rc)
-               goto exit;
 exit:
        mbox_put(mbox);
        return rc;
-- 
1.8.3.1

Reply via email to