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 8ADDCA00C2; Tue, 25 Jan 2022 11:07:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 024A242903; Tue, 25 Jan 2022 11:07:16 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1786A428E0 for ; Tue, 25 Jan 2022 11:07:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643105235; x=1674641235; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=TSxbWmG358JiL7BttocD/JCJzazs+f4/8WjPlHpqzJA=; b=R9GCu5MjYaagCqdav9mTIwnxust1mllJEEn4GaB8r7Op1UAw7xs4jMsI 7VoI5F5Ra1Yb/I6oUST7spTd4Vd7n7tLX28Kdh0YDhCXy65su1uuIrlbA qcW/YKklMw6Q0a2zFb41b4h3DsBp3NMyE5kcpkzJZcxNK2B4Zfr121Bkl MfENgLV9kInCtoAb9ypSirjz75fbnAPOtwHcupFLbUe2f/KKQUfmVacHE QiNLoWNgUnLElCZhOY72/QaoAjaimqHPeRWgq0VmRgXZVScPuh5KGVYEL mtElugvoO6PCmqAry7dxd2Npw5Q11DtErVnugQaBic/Q2k0JzbVcohqOY g==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="229843720" X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="229843720" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 02:07:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="562987678" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 25 Jan 2022 02:07:14 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 25 Jan 2022 02:07:13 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 25 Jan 2022 02:07:13 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 25 Jan 2022 02:07:13 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 25 Jan 2022 02:07:13 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G9XS11SIq7J15Gs63j0MvyZuukaqeZAmKQNW4RhIFRU7a/4QxKNFBnBsthV6sZLMSHt2/dSan9iJN6ENZaqOj70DAuk442dQpNMJDUhWBjxQOocqpI1aH5NjsbKzShPoH63OmtRN+5nH2oYmxDZPRwxuEy+QXkThzJZ/leo4fVfURWzehAH5eAfTk22/KNEla7/tTo2SggpPVN74geV35J9TU4dmNGrk9tNioFyXkJpFlFU4ptim/ZpssS7oDPsav+DErlF5DcNjod9lFsQoJ+/Mt5pnBcLS4+WOOZJGFnDuOWxAKdYxWS6B33JUReuR0nAZ9EFmqtANHZNhdfAAjg== 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=TSxbWmG358JiL7BttocD/JCJzazs+f4/8WjPlHpqzJA=; b=gG61kWHSoq0K8wbIliLYAyZpGEbPVz/bnC2Y9lJGdNlJI0lbrQlXWEw3ZN/GaX7DafL90GD/E+ES75bE6RJ+Sr2MYh0QLgomH9caEhrVK3zqRb/9793Gtxiaz2IH6O/c2wEuC5g+5EVGKUCQLJFV2HPYrJogdlGgzdZgJHler9BXzhUY+WlMNNRZmtF5bYTlgYIuIAdthGIFGfWww1ompqGPK8HsFplkM1Fbe3Sp6zU7lF+Hvb+URlfgdwjmabVVgPsQ3+Lt/Hx5qLiKuNEjOxCGduvGqcWTlmZYxXNhiDfxbH4DGCa3i48D3wugqy+lfvMafKKswunC/Xu+XJnxkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by SJ0PR11MB5165.namprd11.prod.outlook.com (2603:10b6:a03:2ad::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.7; Tue, 25 Jan 2022 10:07:12 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6044:ba49:2592:68c5]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6044:ba49:2592:68c5%2]) with mapi id 15.20.4909.017; Tue, 25 Jan 2022 10:07:12 +0000 From: "Zhang, Roy Fan" To: Stephen Hemminger , "dev@dpdk.org" Subject: RE: [PATCH v2 37/83] crypto/scheduler: remove unnecessary NULL checks Thread-Topic: [PATCH v2 37/83] crypto/scheduler: remove unnecessary NULL checks Thread-Index: AQHYEUqYqB3QZpOIVkW4It0KUitpmqxzg+4A Date: Tue, 25 Jan 2022 10:07:12 +0000 Message-ID: References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124174719.14417-1-stephen@networkplumber.org> <20220124174719.14417-38-stephen@networkplumber.org> In-Reply-To: <20220124174719.14417-38-stephen@networkplumber.org> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows 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: 68d585a1-414f-443d-0a1c-08d9dfea7497 x-ms-traffictypediagnostic: SJ0PR11MB5165: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: 0r0VMAdRIz6ScjGWS4CWL+D2YrY3opl1zKP8Q1MSYqRVkBiDA/T/hSWunvtCtGh1+Rah4aDLMaqVD0wOhJ420SpcmmeXv+IXgtFvbi/KLa6jvuZzLsGVg0iV80rgXU7L68CYRd4xGJz0q6HzioVYJT1Jn8idi+5ATcZsq3HkldJjKjk2WQqLNBzY+wIyV2sk5tv0fNFfb+qelSq94FeNNCs4t5XgHQ4PHryVzmupFzJSejJkYJzYMvNtXQoG+T56NVexei39lD1eqbNlbuP4zwozk6BNop38t6H1IXV2iz7FHXbHvG9z1oy9S5WJ8pjeu0fAmJ/EqHJh4Q3kw3rqAjhJ27j5VYvpwjLzokonrOb0CgriuSxDch/b+hQd3QX7cFNFcVSf1AWcCAQ1L60jankXvvlcUCZx17FeixAmcIsi89G6PUY/YuyLxm+20NcLT5cwnHEE0VWdrQgNJMq/FZ7vQEoTIDtGcbAWLMCOe5pRTmhJSnjwoQRnoRRXOQm9IeGCk9rI9d4vL3YgUQ2A+x5ttzP4EyH2vpY3WDZZuvvHij4NVmE9DMHhb8iXq/mowAyYFtlbNME+n6JI8CSJjdEItVl8178Jfl0nbW6f1DtXMi5Il5IJBRluc1IfTI/rQaepf5QH3zgjRfrb/rAcCgq2tEBksyU3M6VtIgWg3n3xveFy3NURI3X7/OokpnVoO1l4c+J7xlWeU3tLROcjsg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(316002)(4744005)(76116006)(9686003)(2906002)(186003)(38070700005)(71200400001)(8936002)(26005)(55016003)(83380400001)(508600001)(7696005)(38100700002)(122000001)(33656002)(5660300002)(86362001)(66476007)(6506007)(82960400001)(66446008)(110136005)(66946007)(53546011)(52536014)(64756008)(66556008)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?chHACxFUtYuvSCsDvFPryBDbXGRP97zm2Mz3tWqggYkOGPwJ7pFvcFE1?= =?Windows-1252?Q?/YYslPSYpJCPYD0ej6X40/8aesu1XxDfSQifz6rMMlCVAxFuWMqYSutb?= =?Windows-1252?Q?sQyykpNmquK2Hu6HsXwkoAuWhx3X/+cRwNKWO81WlP7jfPkFxAwiQqrh?= =?Windows-1252?Q?OkpyApjqzFeTjGzysUOQ21Vbk8Xn484UqxIaL96J1Rs/To+5MKL/rPMR?= =?Windows-1252?Q?FZ6NR7NJZFM9P3JgMeImDbLEnSjA91F30mWBu+qpLZavT3PxLP9Y8R+0?= =?Windows-1252?Q?xdxvgTVuW2hY0WCzpJP2ujXiI9FJHyR8bW1pO7yKjbeaYFBXQqOw6pvE?= =?Windows-1252?Q?/0kfoo+nVEq0+YN7PKULZbfQq729TN/bIr7XLJ5y0+MlJZYZW+ujKhKL?= =?Windows-1252?Q?V4HWYWTcRXo9MiMqWe3a+9cm5EhpmZUE7QNbNVcY+ytvfZaDOY1dctfK?= =?Windows-1252?Q?p5CE8rvWdghVOu0xSZMoPLnhozkCrlY0nCixFd7KuZx+shzjDfG0eGnP?= =?Windows-1252?Q?3rVfXpFOwumE0NSLLL83t2KXF5pmSX2HgTYVlMIw1DObu2ZlqI0CQvq7?= =?Windows-1252?Q?OI0+A1vPByZy9t7iKkPvVVvHyXW/RUkvq9SQnh/2eTKwfes4MRoYD451?= =?Windows-1252?Q?fbbwG40OCa7l1a5zJmbi3BSDHBf7pb66HG0LPiZas6VqbNcaJcYAkKSB?= =?Windows-1252?Q?TNZI+pUuvOppXe5ohJ3oZvLNUrflHUXcNz0auQgS86TsAqtaCSVebzCD?= =?Windows-1252?Q?s2SDgMMH1iKyV1DPf1B7qgQFjzQ3xWRChoUW/hJlNkVxpu1j6kltWQQ1?= =?Windows-1252?Q?2tgdBiJKcsy/Wi3q66rO4tIfPCpebhlIbUK9seTZAJ5f7kB3J2nGQ9up?= =?Windows-1252?Q?gUiUmOWsGNvvdjWaSJHz6VkZJw9mCD9Azz4bX+P7CGKtCTAlBqnQ+17k?= =?Windows-1252?Q?Y/9UIZew0enZ9JZ2udYhOLKbQirQKCHgk2AxYalMQxWUUcTZ8h5n8VdN?= =?Windows-1252?Q?hKp3QslMgJYFY949jjUK6O4NQpKJI4SXAzVslqXF3RxzCHoJxnhgJKP7?= =?Windows-1252?Q?ib7AAupG9J22QYVooJJ7tjxgyk7cGaIgSV7PBRB7/F+cg64kMsd3JzUi?= =?Windows-1252?Q?RI1/5R92K37uuGoPoDh9G4GpfVIrMMbFNjwAScgcP1GEL7fE6k2vSm+/?= =?Windows-1252?Q?IWYO6ev/+9SAr2mUmP/IJi4yfpaqSYQxVMNnzlgpGj/z4xsU8Y7KZ11E?= =?Windows-1252?Q?/Dbw8sXgLuBPGBylQ6CNbZ0I7XpzMZseBaI0Ah5nMrGLSi9Hp6HIBfx/?= =?Windows-1252?Q?U/G7sZzExFqPFXOqW9I25JOlsjkXUDA7jBL7Ts42osc2wriixAYOdMaZ?= =?Windows-1252?Q?tNOXsVY3zO9soLCdGMM/pZfCLRv9DVWdQwS+uNw+qw5dliU5IUlfrHWY?= =?Windows-1252?Q?xeaIfG+QfgOM4TS1TxhcaqCMYC2IaP4riifTIQsSwp1xujKAOyEOYjvk?= =?Windows-1252?Q?DkoB2ZVuGkAlIkJ+U5cFj9LEOVfA0mW54As/DI43SiWbdKUoOiXYllQ5?= =?Windows-1252?Q?tR1AhFtCjGs0V78Na2BANYH4aooX+CqjSTx4GPtkAFXLZ9SOpvhNCkze?= =?Windows-1252?Q?8bO3ErxRN/SVqLgGfXN981CwTEkf+Vwrtoe//efLODOsaJlEpw9VPPh9?= =?Windows-1252?Q?zTFsN6eUkhK9VexZ+OFroKpqRgd6jfpTpEqt4GNjdQeARof7vtscIg?= =?Windows-1252?Q?=3D=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68d585a1-414f-443d-0a1c-08d9dfea7497 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2022 10:07:12.0407 (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: vgkJ533aHcW3uGJuCibOnF6Hprt0f83W3oc7z1ze432T5YDKqzqxzQmYGE2LVdZcO0eDr8m9rLZcmiT3e+TPHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5165 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 > -----Original Message----- > From: Stephen Hemminger > Sent: Monday, January 24, 2022 5:47 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Zhang, Roy Fan > > Subject: [PATCH v2 37/83] crypto/scheduler: remove unnecessary NULL > checks >=20 > Remove redundant NULL pointer checks before free functions > found by nullfree.cocci >=20 > Signed-off-by: Stephen Hemminger > --- Acked-by: Fan Zhang