From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A075E42CC2; Thu, 15 Jun 2023 08:31:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90FD940DDA; Thu, 15 Jun 2023 08:31:36 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 40CAF40A84 for ; Thu, 15 Jun 2023 08:31:35 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35F0U0Rq006139 for ; Wed, 14 Jun 2023 23:31:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=d5vtlCIu5eBQQe3pe9Db7OsdeNdi1SxxP0xnjiO2Ht8=; b=W7s7C2pCseJmxPmICwJUQj2K1sIX/ERVD+ehYj0CB01Ta69t236Vbeni2NOLi94CSih3 JN6nbDX6hI5n4aI7qpoWF8bRiQoGWc+qHSHbInjYabsAPZtHNDFesdbvSUoH8L979Ra3 /7cU0QSIb/RtawbsA4p34xfTSeRNnYEDxv4c95kxcfIfJBF/cQ9fAfnpB/0SVTKABuqO WIBJs38aMMMY3B9q+AIY7WAQE503Q7wgWrqeZ16t+8+EDaz9jSCNWHToLrrSGkbAkkhC E8YWb7mKcn4UhLRwbfupaBycijzBg84KLwCGBV7ysoRmR4gIf8Is/nGV8qIcoNBHxpAN vg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r7dd2us2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 14 Jun 2023 23:31:34 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 14 Jun 2023 23:31:32 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 14 Jun 2023 23:31:32 -0700 Received: from cavium.localdomain (unknown [10.28.34.26]) by maili.marvell.com (Postfix) with ESMTP id E328B3F7084; Wed, 14 Jun 2023 23:31:30 -0700 (PDT) From: To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: Subject: [PATCH] common/cnxk: removed stale condition Date: Thu, 15 Jun 2023 02:31:21 -0400 Message-ID: <1686810682-24888-1-git-send-email-skoteshwar@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: 8EaMiziLeCinR_gYKhm211aFuRhaH1Gj X-Proofpoint-ORIG-GUID: 8EaMiziLeCinR_gYKhm211aFuRhaH1Gj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-15_03,2023-06-14_02,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Satha Rao 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 --- 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