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 D7208A04DC; Sat, 31 Oct 2020 19:28:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F1E337B1; Sat, 31 Oct 2020 19:28:45 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70089.outbound.protection.outlook.com [40.107.7.89]) by dpdk.org (Postfix) with ESMTP id ED459378B for ; Sat, 31 Oct 2020 19:28:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YovR2s/I8yF6utnwO0AFwOcZhI6nY/hjLIw/mxAn35/7K64BRLbGRYf2yjtox8OxQhqBnuk4wOmynOMicihCKSDWpdqMt5RyvDVTqpxlbT8gesAmVIa4iTkkhcgjylIYyHp6CRSF8dRrVljop+e+Q+Scsz0VmYqd3/W1wlf8/dLEzEHHonzs82+dP8oEFK2UNldbtBRpMrlMxhYkz9eMOUWf6eFkOc0DUdpKTXfMPAoQh8TxvEPrWDaKoY2fncDqdbTERu0pibUL1/GkNmAzqoql1n+aE7w/OI0tR54uUG3+a9Ska/U5jv+o07gicSSKSiqqZQ4A2xdyjpWAeb3FqQ== 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=Dy7FEyB2oGv/ybQR2YbFVVeqcNR54MOeKBFFFdvYSNo=; b=kj80XnIh1ptoP6petO2JFv3CPiOr2s7L4cnTa6BaMv6ytL87psHAWWLG1Fao5HfBu3oXa/EsIzfzpDlMIJTNXwzviUGamkpv2zhOoWJe9wtEROaWEKSLiwbApcINLpz0wbT0ErsaJJQ3WNdYkk1lW3x2oYG4ko+buAaU3UOy2y2buc74D/TllSnw7nTb3XQ0E+a+HNV2Db1ptzFkHIs3RN/6ACapeQxiPwuUqzVC78kut7gr7tdkyCbL1+N92zPSfJpy/NyrdnXHUASKRYqEQcmPaFswmwQe7C1feIFVj9CrsP+7LOotloR+L0tbSkXKltx0Q69L86dwVoBt6F8MBQ== 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=Dy7FEyB2oGv/ybQR2YbFVVeqcNR54MOeKBFFFdvYSNo=; b=POHl7DT8aFZXDeAYWz6rYhCcReiENPdMc2h2N9KPSfQMAuXXIH+Zym6LQvtfyvAgbyvisPL++nKFkFBXaktRqHugDiA30jT06z4F0oJ5eu/CLo02xx5koDVuaEUwZFALBf0a3cgqZOUMIC2KsJ+1FuXlL2WNBt2nmv0lEHNPyOI= Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com (2603:10a6:203:37::20) by AM6PR0402MB3767.eurprd04.prod.outlook.com (2603:10a6:209:1e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Sat, 31 Oct 2020 18:28:40 +0000 Received: from AM5PR0401MB2593.eurprd04.prod.outlook.com ([fe80::3c2c:e6e1:4e49:2e5c]) by AM5PR0401MB2593.eurprd04.prod.outlook.com ([fe80::3c2c:e6e1:4e49:2e5c%11]) with mapi id 15.20.3499.029; Sat, 31 Oct 2020 18:28:40 +0000 From: Nipun Gupta To: David Marchand , "dev@dpdk.org" CC: Hemant Agrawal Thread-Topic: [PATCH v2 1/9] event/dpaa2: remove dead code Thread-Index: AQHWrSS7iJpQyq1J7kKBaqMvBojeUamyDLrA Date: Sat, 31 Oct 2020 18:28:40 +0000 Message-ID: References: <20201027221343.28551-1-david.marchand@redhat.com> <20201028122013.31104-1-david.marchand@redhat.com> <20201028122013.31104-2-david.marchand@redhat.com> In-Reply-To: <20201028122013.31104-2-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.35.45] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 74555ce4-c02d-45c6-3f84-08d87dcaca6c x-ms-traffictypediagnostic: AM6PR0402MB3767: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:446; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xPy13wl3cM8nUFC2HevK/YV/XaIxE7/XnSlO+WFAWzkJ/8XcUmUA1ZvykWKB+/wzTpXQyTaZYxFpW+xLTd8yFVX74ggQaLQ4b3771ijIJjLoTKNYHthLXXvRfRkQAdEcg4nk5htsj0RFaPWC/KehjwSq4J24HwR6/s0XPaZI0yIJ/ScTZKREQ6VlEAiWVDNBi10RGizpYAem00Ab3BBUhzKW9AEyVLkiEdI7I8/biuceLvLgZCC0veqeNCwVKVp81h4pOuLunMg04iZescQCSNrvqPh11FVwazUiA44kVBvbFqucWQQJDyaviT0BaGqci4g6nTdxWyMkAyBmiGdCbQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0401MB2593.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39850400004)(396003)(346002)(136003)(376002)(66446008)(76116006)(64756008)(478600001)(66946007)(44832011)(4326008)(26005)(53546011)(66476007)(52536014)(66556008)(6506007)(5660300002)(186003)(110136005)(316002)(71200400001)(7696005)(8936002)(8676002)(33656002)(86362001)(55016002)(9686003)(2906002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: vHx/+oyvuSgLHor3Vm734CBqmF9QNP9MNaCAQivym5Ylw0xj3CT+fGC0vtNl4dqmcBdLolNtJnWaXtYtfRAvCNlcoEQqcQEP+gBb4UwvIQap5Rt2rRh52hmhhp6hovg1eiXY/dGns4+JrVB3uV33/bHYFs4VpwKzSxjxWyIRSvvbaGTz/aUmMjnYfi/QhcQPnZxjhUx5KgFlN7ULFkkZFljMdvmq1+NPUQkWSBUnVsD7Cgyo+tTTWbaMIN45wShUVHyC+KQh89EJIydijCW2YPqjoeUTGForF0xBCxKiUJ34ZebEe4nQkrvkD/NV8m0SnC16hgJSoH5kRyDf5Zh21JeeqXT0YwuI6NYzdtn1lQi0dCz3frXlSTAVUC7NvJFIKnBU20Cm8lSO61Nr/mlepPlfAma/3tb0Npq2Xarpo//dOCdU9BIfYTn1A/HI+MYLH5yO6pDuVLBxWTnuAaXA+EWuvxRvrkvxi+XRkX/7K9YCHnwh2G8VdY8r9ziSUdSqHDYCKumAUv0ihVvyY4sJZbFZvvyX2Uh3ZeHwEmQR5PZMMayf8Z1sDMX9cjEiDK8Yngz2t7fbHz2FpdCa+cThA+t24OGskOJb9rxyx1NHztH9cYVJKfWQcqmHipQ2DGTPpZLRmlZ4qW72jQstk+odIQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM5PR0401MB2593.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74555ce4-c02d-45c6-3f84-08d87dcaca6c X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2020 18:28:40.4803 (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: FNl4SsCMGAi3LMBxakt2N+SRtLOLY8P2Jwgp504BTrdFpWDWg20zEEqAJe/DGusnGLGXFtFOvieWs7YFwHVWgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3767 Subject: Re: [dpdk-dev] [PATCH v2 1/9] event/dpaa2: remove dead code 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" Acked-by: Nipun Gupta > -----Original Message----- > From: David Marchand > Sent: Wednesday, October 28, 2020 5:50 PM > To: dev@dpdk.org > Cc: Hemant Agrawal ; Nipun Gupta > > Subject: [PATCH v2 1/9] event/dpaa2: remove dead code >=20 > This code has never been used since introduction. >=20 > Fixes: 653242c3375a ("event/dpaa2: add self test") >=20 > Signed-off-by: David Marchand > --- > drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 13 +------------ > 1 file changed, 1 insertion(+), 12 deletions(-) >=20 > diff --git a/drivers/event/dpaa2/dpaa2_eventdev_selftest.c > b/drivers/event/dpaa2/dpaa2_eventdev_selftest.c > index b1f3891484..5447db8a8a 100644 > --- a/drivers/event/dpaa2/dpaa2_eventdev_selftest.c > +++ b/drivers/event/dpaa2/dpaa2_eventdev_selftest.c > @@ -47,17 +47,6 @@ struct event_attr { > uint8_t seq; > }; >=20 > -static uint32_t seqn_list_index; > -static int seqn_list[NUM_PACKETS]; > - > -static void > -seqn_list_init(void) > -{ > - RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS); > - memset(seqn_list, 0, sizeof(seqn_list)); > - seqn_list_index =3D 0; > -} > - > struct test_core_param { > rte_atomic32_t *total_events; > uint64_t dequeue_tmo_ticks; > @@ -516,7 +505,7 @@ launch_workers_and_wait(int (*main_worker)(void *), > return 0; >=20 > rte_atomic32_set(&atomic_total_events, total_events); > - seqn_list_init(); > + RTE_BUILD_BUG_ON(NUM_PACKETS < MAX_EVENTS); >=20 > param =3D malloc(sizeof(struct test_core_param) * nb_workers); > if (!param) > -- > 2.23.0