From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9490FA0597; Fri, 17 Apr 2020 23:16:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A2C31EB48; Fri, 17 Apr 2020 23:16:34 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150078.outbound.protection.outlook.com [40.107.15.78]) by dpdk.org (Postfix) with ESMTP id AE2F21EB44 for ; Fri, 17 Apr 2020 23:16:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ehBUJOqMqeadvF2PUNWjJhygMg4HqR/fHe/egQ5sOJSLdn8Jm5t4WJGGNwKS8lnYjEC7IvoGOW+T9Y2HbpyCRH0uClepo+1nzywNeCOxy4UsaObVI/DOo26hWjkSsMq37vA7mgEoHEpTYTymuvFT0DPqPWve6pO27YYMmfmdyubwjih7sBLtuywadQH4CtPSRF3jfuU+UUlGCl8rMbI3dGMyKJnvW09g0VsLv4bJgLXD2zZe80FAgmwhrRPLllPg/gR7pAfCH7SvTCvdHdMGsxkSmuwPWfpErJrbSrKx2WYv6yLyMP5RZ0a4eZvuDDxEgsuNswe8NmkTzRU5BcAI7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AiTd0e4Sb0mhb8Y3LdyN125LSGhtxRiLZJIi2dAbivs=; b=gybM0Uid5c8AD8C6a8sKM9oG86ise5CnnjkmNWKBWZ6Zy3hFm12jbRlp54ZDvhb7k5xU28m8SzGfuKLhy+BwlwagLWEchT60c3kaEsSq86272fFdNkbShuz2yn+H/nZNkw6CLQn1pgiyP6lY9UCKL+NLyeVBJXO1DgFG1/Oow2GXCPyerNzLB7hw0VEfrcY0JGY+VVXtq0CD+d6VaYYlyIRYoXq+4nI0fWAFK0T71pOtoInDtF+b7W/cdSIWbpfzDH3VeQALF24yWfRWUqa6vcb57Y6Hf19pYt4LP0nczO74uWK/ohEQvrzV6ugkerc8NfGB+5vZemtYtjgzZpzedQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AiTd0e4Sb0mhb8Y3LdyN125LSGhtxRiLZJIi2dAbivs=; b=SV47T0+rGF2dJIWXX9Y3O+T+kgYeBK4aRWMS//qrg3Y3yxMdaPN/GHjOQldgMRYXWQKZ36Zg644cRffPhmSl+Ac8veiUPipXzWZxpkRDT1b3R6fGsxKf5sP2OvMIkPjmspjLczY0Q8EESO4B4VX6D6VimR5/lduT8GdvUwvbnt4= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4368.eurprd04.prod.outlook.com (2603:10a6:803:4b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.25; Fri, 17 Apr 2020 21:16:30 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2921.027; Fri, 17 Apr 2020 21:16:30 +0000 From: Akhil Goyal To: Anoob Joseph , Ankur Dwivedi , "dev@dpdk.org" CC: "Lukas Bartosik [C]" , Ankur Dwivedi Thread-Topic: [PATCH 1/2] examples/ipsec-secgw: remove duplicated if check Thread-Index: AQHWFNHGF0PuHKe6yE6QpYGq/bcDK6h90SKg Date: Fri, 17 Apr 2020 21:16:30 +0000 Message-ID: References: <1587138115-13149-1-git-send-email-adwivedi@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [45.118.167.79] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: ac15735e-948d-4b10-95de-08d7e314993c x-ms-traffictypediagnostic: VI1PR04MB4368: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-forefront-prvs: 0376ECF4DD x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(366004)(346002)(396003)(136003)(376002)(39860400002)(316002)(110136005)(81156014)(26005)(4744005)(8676002)(478600001)(5660300002)(33656002)(86362001)(71200400001)(2906002)(4326008)(8936002)(54906003)(52536014)(66446008)(64756008)(66556008)(66476007)(66946007)(76116006)(186003)(6506007)(9686003)(44832011)(7696005)(55016002); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NBS38cbGb4bXoXgwTf3GMCIr3CCdRJGazD/MBl13t7fLzT0bQ8ALtCY9iah9k+28QilZJKsRaj0Bz6qe2eBjp/aP0EDbAs24uZ9loFfbT1aTcU8ScyGso9jN6ClPjO6pS7SODfWAkzhd44YzGOISynfBsw7x1wO3rz4Jq0TQE+1wOEeVaqlctSkFvreAExyyzGCqAMr/N2o834hROBwPfLw4U+8D0zVPiXgj/f2yh18YVDoS2bOtp+0ZKTRtcAU+c3THMG//B6yDaAEqniSDK2HeieLiQPCaC/WVuA+/5D0FSlf51nfaDa5a2CJFCOY+iHjZBtzcuS/UrvSU+TsHgjNcya62xkaQ6w8vZVyLPhERMnVA58pYAO4lcC+gN41Pqdzo38JILlucyDxeeACxXDWR6IAhE4mJb66pcbrxkD30zskCiPC4mkxf2XVQ+cIF x-ms-exchange-antispam-messagedata: hgvQlo9QvXEvxDFLL3xaqbj66r3eBDdEgns4cpMV2eTuaIPfcGlWCEA4kOQ8o+uh14nea7UGt3QXXGVXDMlmwGejz3K0kGolYOGCm4O4qRZhJVvnnCQVidu3kZsO9vsNwLiEV/t5hlQncu7eRkhvUw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac15735e-948d-4b10-95de-08d7e314993c X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 21:16:30.4401 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UmwhzsGLm7FaO/0EdBAUZVp07tTaGyJfPY3UbBv76yr1Uo7YmhyIU3KyuxoaeY2F3QOmWYJTvhofROcaeIU6GQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4368 Subject: Re: [dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: remove duplicated if check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > > The two if check does the same task, so removing one. > > > > Coverity Issue: 355669 > > Fixes: 9ad50c29d01d ("examples/ipsec-secgw: add app mode worker") > > > > Signed-off-by: Ankur Dwivedi > > --- > > examples/ipsec-secgw/ipsec_worker.c | 7 +------ > > 1 file changed, 1 insertion(+), 6 deletions(-) > > >=20 > Acked-by: Anoob Joseph >=20 Series Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.