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 5FA3BA04AB; Mon, 24 Jan 2022 17:13:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F306427D4; Mon, 24 Jan 2022 17:13:09 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id F0663427D4 for ; Mon, 24 Jan 2022 17:13:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643040788; x=1674576788; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=lhU6TVpyEnC6X/oiwVYbhSIk304kOiZL7BmsL7uDYkA=; b=Ty1grK5AWYl6w6hZ3FNZNIglmDqaWOA+I5QTs3ynPnmj+OmOCvw1KGaB aq8pImV7j0ZmHd/PYCiCwZRALqexork4h3wn0kSAGxK0o+5VmhshPiksy /nDQ9WFrrWlHbTlSYrm9hLrogy+Q0VGHPC7OMjUIo4XYFopNJK9SjGocT n7ARRPaYB9Kbo+Yep69o2iiL3L1Pw4/t0uPS/V2N/A+nyVjQvkxK+ND44 7SvnIegx3tnW7P9s/PeRDd4PjciqNz+BcXXD9gjYU4ryqFzVkuXnmlm7C FRg8RXD1ruNKvv4nleww/qoXM4kUSa5BzG1n128zS5jxKp6MelFqd+oii Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10236"; a="243677156" X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="243677156" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 08:13:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="766446962" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga006.fm.intel.com with ESMTP; 24 Jan 2022 08:13:07 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 08:13:06 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 08:13:06 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 24 Jan 2022 08:13:06 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 24 Jan 2022 08:13:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BxBoHSb6O92t3ICIoJQpgBTyzK0pb+m0LE6B5J7pX58+1obfnDSskAFJJzg8cMcGgQJT5W3JZox7uet/6nxeSzeViJScpJausGBAeNicG1/hNdvsJKCrotzpJ4/NI+Infk3y+h/ZJZh/uVVd4rWuofFR4+ZIc5LnxmzODrzIyqmfWZXCkwE/6CRKNRqAzSE5iuxj4fxLnRsOQJBPM94L9lvqQFdC1RwTetOQOeSw97yMu35o2gg/0o9qu91Mx9dTvktXNygSUe9f6mEAZxBn6KEg10ZoNduwKIRxM1u+2KPd9IrCFpYpwYriSRguGRGU2v04sT9hPHPAML/GTwbnAw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HfZJTIK1SvWwi8R4VDJQMt6Nf70TYlDRqbUW1yscmjk=; b=GaX5g8q0J9SskNGUMZpvwYDctN2Sy+7gY1bYBgKs8AvKJgMqPk+A6OusPaqSFhlYdKPdDeg9H6iapwYfbg/XsC4G+0+z7ST7xNPFQXpOTYq4SMqaLnwuAeBcV2KCsQe7xpWX9psvG3Vh6xhhg4RKfrFKnT+MjKtjnGeRMPKFbYHFSWuKluysV5/MigkPH4yD2O9ws7bVUUVp9sAZb0OPRv3zJW0Mw4jFBEOSPL1wu4nUz3dbbsSfypLFOhzpbQYkLK685wDtrFPZTJ9P9/LwJ4wC9HI3gJ5Jaks7sHo6lB+zYtqTHe4uqRAt8pEv4OKXFgKP5pVo4GS4eKJVSoa+Rg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by SN6PR11MB3437.namprd11.prod.outlook.com (2603:10b6:805:db::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.12; Mon, 24 Jan 2022 16:13:04 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::4fd:a9c7:1eda:c93d]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::4fd:a9c7:1eda:c93d%6]) with mapi id 15.20.4909.017; Mon, 24 Jan 2022 16:13:04 +0000 From: "Power, Ciara" To: Stephen Hemminger , "dev@dpdk.org" CC: "Doherty, Declan" Subject: RE: [PATCH 11/82] app/test-crypto-perf: remove unnecessary NULL checks Thread-Topic: [PATCH 11/82] app/test-crypto-perf: remove unnecessary NULL checks Thread-Index: AQHYELYiTHfm1BmCfEm85xytUXn4kqxyWMBQ Date: Mon, 24 Jan 2022 16:13:04 +0000 Message-ID: References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124000518.319850-12-stephen@networkplumber.org> In-Reply-To: <20220124000518.319850-12-stephen@networkplumber.org> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 656f47dc-3a81-44dd-32fb-08d9df5466be x-ms-traffictypediagnostic: SN6PR11MB3437:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:400; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PQtFzSmcW5OkuQP/lpt9xE844rNbByD8XFPEYPOxDN1ViD5HtjqYSUjFSxgkqLFcMwNtTYDQFjYuJAqiLrm4zKSKoRSZRrkw2dfrYyHcwxUBoZ/BZmjCmecQ7NfZBcFXMuoK1u+MKaR4eMXq6I2xJziLH6FJhRp3m/yaHsKpvbEUAPz+cWJQjNZqSBQ8a+L6GzAfvPL7xvMQaJ1YvhBYde9m68KRTztZQzVpU9o6tOoqwTQ9IbhROplYDp6VrL+cNsoSKTuL1SJHxwpi1KOEPsNqs7QkDhminuYC+At2ZV5wKy1WrOCxrjBB0PTP3M+G9XWOTwiSd5gzuS2DBmV/VkOiRcBYjWCovjWDoF9nKT8svGsZRuHlmcOKxv91/DaXaT9twsTGZ7VXFIhgBwkEE9yW6XoAJ9gaFQXYSVvAQvp8y7EjlHTbBQfO1ifZ5IpamNYymdEkFHEMQ+FdUHsIfuQn293rVXxzUX2g383HMc8QXk86aWLp/WzopU9BwjYdANCtZGjAOym7LE+lKdjKr1XoQGuN6riCQVB8B1KPSFW2jT4k14yTnipnKyqU3mdjQ/hZGBoOTR556MSfwWDWXFYUCUytt4p7lfFveb3w4/qwDZp3H4eZ9Y38rkflIDkMuKomh88RP3iTTLJw5wpe7BTi2Qte7Uz+vzFeQEpu+zDUcuUh29LEeZXmBbQeU9lvGpDiyyE4pyFu5Dr2vC1tnw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(316002)(186003)(8676002)(66476007)(33656002)(110136005)(66946007)(508600001)(107886003)(122000001)(4326008)(9686003)(83380400001)(7696005)(82960400001)(55016003)(76116006)(26005)(66556008)(66446008)(64756008)(8936002)(2906002)(4744005)(86362001)(5660300002)(71200400001)(52536014)(38100700002)(6506007)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?rH4+piB6YvtWc7XbWui0az5pF21FNd0Lj7gALx0Hsl14GrOPaj3V+n3DMqcZ?= =?us-ascii?Q?bJfcofGAtCbVboor8z+YqAeM30IeqSfg2awfQXOu5y0Lw3qV9hoG6oODHLNP?= =?us-ascii?Q?Bjuq/gnPPdWo7yVdqjymFx4+EAN6BBB1J9Mncu7TbvQeVaIXhdjRHAI0YnJv?= =?us-ascii?Q?XNyKObzxLrbI1ffw+wmozKp2CGgNOU0rhTwebkipjF7Pyk3K5vYe/MR7LdU2?= =?us-ascii?Q?gEls+vM8VDonXJZQ6Zk8/64CqQ3DQ6qQs5rNJkkC8YpJGv/5uUBxOUr450KE?= =?us-ascii?Q?72ZQRZSJekkf56F+/mSUk4wg/UG4/EveL8jLSxvpDaT+khF98XfkipfktBjQ?= =?us-ascii?Q?RdMXMq6qJU1xsiz/0QF6yl23CtvwyR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ascii?Q?EIsx2BqnlUGTfqpXUZqgOYMVJwDSpX17RquSqpfRiJBs5DzpEK9766jwtww4?= =?us-ascii?Q?5lzb6dcoZUeGcH3X2gO+Ee4Gudi5jHTBIE8fNHUI2krOUFAI1bHNDWyFWdl9?= =?us-ascii?Q?xeGal9m3j8tn1fHTSj0/UgZLwpSMk37xQyEFY2kDqPw3bwKpwosRBAaWpbGJ?= =?us-ascii?Q?3TdaU+VOANeywhPgeBRfIoGt+yjjy9Ucem5zwynU3aLyDAa0/C7kZX0OzXCO?= =?us-ascii?Q?gse1gy2yWJiko+/C5O0b6SmV1wAay1wlcgOCtF14earVKN39OYsu0GJwZjM1?= =?us-ascii?Q?y7hDOI7BgQoUqoAS8BVG7aTKiN07Wzxr+2r76Thmxdm2apDdXZvsYXpzaNyy?= =?us-ascii?Q?vGDcuC6+HEueJ78PfseuJEw=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 656f47dc-3a81-44dd-32fb-08d9df5466be X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2022 16:13:04.2998 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: if6zNA6/63NqiY/Vd8LV6tEg947Y3EsTaw41UasqGEy8/nAy9QAYrG1Hw3Jl4Ue1j3Mbil15pkyDryT26d/QAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3437 X-OriginatorOrg: intel.com 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 Hi Stephen, Looks good, thanks. >-----Original Message----- >From: Stephen Hemminger >Sent: Monday 24 January 2022 00:04 >To: dev@dpdk.org >Cc: Stephen Hemminger ; Doherty, Declan >; Power, Ciara >Subject: [PATCH 11/82] app/test-crypto-perf: remove unnecessary NULL >checks > >Remove redundant NULL pointer checks before free functions found by >nullfree.cocci > >Signed-off-by: Stephen Hemminger >--- > app/test-crypto-perf/cperf_test_latency.c | 3 +-- > app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 9 +++------ > app/test-crypto-perf/cperf_test_throughput.c | 3 +-- > app/test-crypto-perf/cperf_test_vector_parsing.c | 6 ++---- > app/test-crypto-perf/cperf_test_verify.c | 3 +-- > 5 files changed, 8 insertions(+), 16 deletions(-) > Acked-by: Ciara Power