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 8E993A0597; Fri, 17 Apr 2020 18:03:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 46D001E981; Fri, 17 Apr 2020 18:03:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id B322E1E976 for ; Fri, 17 Apr 2020 18:03:42 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03HFol7x018811; Fri, 17 Apr 2020 09:03:41 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=hwZEOVNeqNT1RpdC99irGDGPg8AN4aj9F99G77k3+Dw=; b=c5N9GRujGSxQ8D8P6FAvjEsNm9a8X8bjYPtFIiBMeYjkiSsQa0W2uThHfUfZ4JNJrN3l 4cAtxNJEMiX6aFJwPeIrVqGa7XIaLTFznX6zHhiJSOpi8W99+ve4B8NkIMJkTEprEkVY a59XcKZIhTTNnnBjl1l7rb0zIobKrJpE4P9G6tT0MfJ2SiyZoMlsLjwWY1VjHT3BYR1N wJefl8llJf5UGBJNCX+OipJjhleKeqx2Mt7JJ02NFg0++wwzN0FtJFDBgsuCfLKO43jP MDjMtfuE8ULjDMhnsBHMUofEz9+ludL4w+ENBtYpsyEzi58ViHqKUzX6E/osFrRTj7Zu 2g== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 30dn8gvsks-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 17 Apr 2020 09:03:39 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 09:03:38 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 09:03:38 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 17 Apr 2020 09:03:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/KJkyFx28C83MUthfHAU1kym8stRL38sAUTOHG5qinNiHtYPKiMW8Wgx+JH2qlPJ/MwuV0aaSodbg96DFeRnEGGiexdL5rrzzC59uxymuajo4tktXDDvIaQ8qCiCjHcL1e8yQwsSaHNGd0vxyodPztc37AGi/L5jL1ALBCQVx6Iy+A8oFoNhnChHk+BUerc0zDWfdqpa98hxIJXeElhmm3nXuiFF9/ynR/5jCRiSmO16n/KppVDw/EWgcl6pWR21uKpYReyGCE23QHP6nphuPbB2syRh31Kkp4IhW5xBzmpzu5om2SlXfQFJGo4+oH4O3sstN3g+mEHR1ghRoikxw== 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=hwZEOVNeqNT1RpdC99irGDGPg8AN4aj9F99G77k3+Dw=; b=PZ+EjgqDmAHWCWpVcKBExHxhDB/mw2U2/Kxj3fwyWJtNaNXO0vRVSZh6K28bvhl1aLz9psbiRY0SP671u8V6kufKMOxJJXwBCavstsWoz4zloQ5qkf10Sy+mhIG6gXdmwuJO8r40EkqyJ9gBlruvQzqj90K5qmhrT2D2ktXFW3xSiW7Yi+H/a2Rk4Ta5IbK2O+FI9T/R598c4raI28rxlHODZybT9rm/cekOT6nRfdBKaADYe3UaJJ+LB1F227ixrUu0PLHPL6Tc9Z1C15U8Shxg+hJn4MThIDHdNHMQONlS64YUxjUxOxQ+j1ryEWjnN0h3ZlJne26g8bqiEOANmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hwZEOVNeqNT1RpdC99irGDGPg8AN4aj9F99G77k3+Dw=; b=A21y8tcKPxcuAhurqBULvsgS/Z7LQaUFqKR+LpfFSjAKFDPX0eQ9aVP43Orf7y36LMdifk/+jSgzTN1sXB8MyWBb394aKlW+959Xbp8FvsgExza8wR8yDcXWvmzE+G538eJYZqQ0PRWqTpxa3jZzogAzP0qJx/9+OGk8lx5t5Ow= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (2603:10b6:208:3b::26) by MN2PR18MB3136.namprd18.prod.outlook.com (2603:10b6:208:161::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Fri, 17 Apr 2020 16:03:36 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::648f:e7fa:f95e:191b]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::648f:e7fa:f95e:191b%2]) with mapi id 15.20.2921.027; Fri, 17 Apr 2020 16:03:36 +0000 From: Anoob Joseph To: Ankur Dwivedi , "dev@dpdk.org" CC: "Lukas Bartosik [C]" , Ankur Dwivedi , "akhil.goyal@nxp.com" Thread-Topic: [PATCH 1/2] examples/ipsec-secgw: remove duplicated if check Thread-Index: AQHWFM7NN5+JM2kmBkeg/22hMTgceah9eVnw Date: Fri, 17 Apr 2020 16:03:35 +0000 Message-ID: References: <1587138115-13149-1-git-send-email-adwivedi@marvell.com> In-Reply-To: <1587138115-13149-1-git-send-email-adwivedi@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.125.192.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4b84e6f-4d90-40c0-c924-08d7e2e8e2cd x-ms-traffictypediagnostic: MN2PR18MB3136: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1169; x-forefront-prvs: 0376ECF4DD x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR18MB2877.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(396003)(346002)(376002)(136003)(366004)(316002)(66556008)(66946007)(66476007)(76116006)(66446008)(64756008)(26005)(478600001)(52536014)(186003)(6506007)(7696005)(55236004)(54906003)(110136005)(33656002)(8676002)(81156014)(8936002)(71200400001)(9686003)(55016002)(4744005)(5660300002)(4326008)(86362001)(2906002); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YjMcR9ilXZ8q00iZph/OoWvMZwalyggjDQRp5vAo2aIw28Vm2YeN9BD7+ZiFeLjAEorXqH7zs6SSOmsC4fKsrNE6zS010qEhPq7dBIk5gOVXCI/uOCaxe0OolgkAglcbbpd9+0dddwjD4DSVmIob8d83nooABdj6VJiDuE1NEGZucVm7ruRtlnJ1ElpW9z02uYh5AUXHAQXh5o+5F66+eQkSlroOB7As/AALMsanL9FE3dNKWSEAoU9H1D/7+v8HkkKiVQCtF4PpBNycLLaICq/2gGHAvwhj8PwWJlneqp1E0R2x/X4rXqJLVS9ekuA31Uj4InqXIgOBXB6CvCvveX20C7EBoLp4oOBuylT4B3MpVI4PUq5a06NPwgez4iRr/vCdXQInpofo1o0S6i3gSiJ/nVXXvhqc1ITEko4apPZZCciAFKmCcwOmnXKYU/vi x-ms-exchange-antispam-messagedata: Xqwty0j5BMElGysjNduxMdDw2fASP4WxktaY7rKy5x8FPXt13Y/dzxXtNtCgGKBN3F2TZhd2QOhagWpHdGWqlJ1EXMYo2FJxdaoN+cXFsEj0gu6/Tmx9YfS8NZGkaTMCy3b8j5bK0nYdMVsWQvmSxg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d4b84e6f-4d90-40c0-c924-08d7e2e8e2cd X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 16:03:35.9143 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: r6htAsVfkuM8M6S+994spZLU9OCzN2Kip0IvWbhTVhU7s6LquDKoaLaIRqK3eKBSJ3D1Yr8IkqvATZGa+ww+Eg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3136 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-17_07:2020-04-17, 2020-04-17 signatures=0 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" > The two if check does the same task, so removing one. >=20 > Coverity Issue: 355669 > Fixes: 9ad50c29d01d ("examples/ipsec-secgw: add app mode worker") >=20 > Signed-off-by: Ankur Dwivedi > --- > examples/ipsec-secgw/ipsec_worker.c | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) >=20 Acked-by: Anoob Joseph