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 9128042CC4; Thu, 15 Jun 2023 10:44:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B30740DDA; Thu, 15 Jun 2023 10:44:26 +0200 (CEST) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) by mails.dpdk.org (Postfix) with ESMTP id 1FC8240A84 for ; Thu, 15 Jun 2023 10:44:25 +0200 (CEST) Received: by mail-vs1-f51.google.com with SMTP id ada2fe7eead31-43de86a069fso986860137.1 for ; Thu, 15 Jun 2023 01:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686818664; x=1689410664; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=88Hwu/AwRpz6NRWqnbb00N4jSEY8B9LMlZ5Sg9u0bJA=; b=ITnvKlc7+onxSzh/axyP0tIjKmIY5LJjNh9ePJMpio2MqnlF+3+9zFV3Wx3PhoJnaQ LSbz0usGeYXNOOPvo7IKY/txg9axOc9jBRDfncSC/D9vgJftbZUOOYyr4wqKZNS+AUoZ ycReZTnMVkAD+CCKeBJJlRahUvvxN6tPXKkJcsxf2e3VRkduLjMl4BxFw9uWELgXtYph 2lTkHqGeuaVancVOiqH8ww5jKfo/J8WgzHo5yNz8zUB9GflSawsopCo6t82Hce5AOYTL FickNarRZr4wOvqEK2tv0r0tMvtfLB1nK2HsHMLRicODNPPfPmFDecQcWc0UMOiQ1U9G Pa8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686818664; x=1689410664; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=88Hwu/AwRpz6NRWqnbb00N4jSEY8B9LMlZ5Sg9u0bJA=; b=Jh9r7llJBmiesq0+NvkedRVqdefCm9TkfFjDAKXOcjwPu9uTXyjJeWZ9PKUl5b+PmV 4VooYY8cSJfiD2l878kd0+kYQjhPhbS0beaY3CtWK3/xrq5zGrb2EHyDyCHRAA/mFPn9 a/59QHBprUat+Ed99Igq4o/6Qn0GgnIBICAmlHrmvIfwZcX0V4st/rkWKGSQIBjgoSTu Gu9ZXXURfwUdEekp4DYEK0V+3+LbWXlR+NNF2AJEtRPpfYS2TdwupL6Oay9qpY+As7H4 8JR9yC+teHzh71wRhb+gDEi/eHWC9bGENOV6vNMzCcIAQvt+S4EP0wOtD+1nDvpIq/XA YsOQ== X-Gm-Message-State: AC+VfDzGBZ1imoQWMtAvKgtCGirxuUrKy+J3CpO/EKjZlugAcHD8uJGK zrxzd4vSw73F/4RIJqb2LMJlCBe2V2HKaXuBY4E= X-Google-Smtp-Source: ACHHUZ4d8SVoO9OI1HOGINWKyUTJLYqMbCHhetMvQqKfulmigzlECmQCYuO9jugJA6341V9w1GBRmogbaLpTRULoaLU= X-Received: by 2002:a67:f64e:0:b0:43b:2d2a:f986 with SMTP id u14-20020a67f64e000000b0043b2d2af986mr6075763vso.6.1686818664353; Thu, 15 Jun 2023 01:44:24 -0700 (PDT) MIME-Version: 1.0 References: <1686810682-24888-1-git-send-email-skoteshwar@marvell.com> In-Reply-To: <1686810682-24888-1-git-send-email-skoteshwar@marvell.com> From: Jerin Jacob Date: Thu, 15 Jun 2023 14:13:58 +0530 Message-ID: Subject: Re: [PATCH] common/cnxk: removed stale condition To: skoteshwar@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Thu, Jun 15, 2023 at 12:01=E2=80=AFPM wrote: > > 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 Applied to dpdk-next-net-mrvl/for-next-net. Thanks > --- > 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_n= ix_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 =3D 0; > > rc =3D mbox_process(mbox); > - if (rc) > - goto exit; > exit: > mbox_put(mbox); > return rc; > -- > 1.8.3.1 >