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 E2BBBA0032; Tue, 25 Jan 2022 01:44:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0B2F411E1; Tue, 25 Jan 2022 01:44:22 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 68C8141186 for ; Tue, 25 Jan 2022 01:44:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643071461; x=1674607461; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=KHpyOZlkPmmzWbZVgYk+kBRb/w3TeiZhA5cARPaUg74=; b=KgNx/f7UPBWaxR6A10iSwFOKPVjJYEKHRiRQPF9UkzDSLgogMEiJB5JW xrhornuHfI7GoZw6fEMDXXrX+0zfjD/hOaWdkjGnvEztKC2iwTwWvPP42 r7S059dSPUNcGVFLw64qHONRDBzwyoONuInlQgKxMqEsdOQbO6HO1Ceq6 b5VRUI+ql3Fvp+DpRjXy4ALqXoDXas6BxZSEHHQn/KeeghJ2Ge949pito B24bMCm90L76XYPPL2nzU2mhFyGLvmrCX6RKH+duPSAZmW2+Y83YOpv8b iecw1DWkkK2xT4xktcYHYIL14yBli0oDE+rITM+kHPFKEJB6HDxoXkO77 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="233551747" X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="233551747" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 16:44:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="596963212" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga004.fm.intel.com with ESMTP; 24 Jan 2022 16:44:20 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) 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 16:44:19 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX611.amr.corp.intel.com (10.22.229.24) 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 16:44:19 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) 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 16:44:19 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (134.134.137.102) 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 16:44:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SHEVn0cSPfnPUl1Man+RE09JK8PMucSjbyb1LMRsS3aM1sweJJIyH9sSS5jsw/ZEu6PEgn+E/pzXKYE4U6nx5WAMON0CZ+mn6Obc9gBW43F28fPrACgP9RKRQ98y+aMRc3/s0TCwb1yq/itSh7WLOFTb2tVmoh+YEiRG+DrJn5DQCfXYU3j1wqJtaALS+jsjpFDinX/u6JC+YQT0XRkYujNaPl5hFymSAYq3gEfSYo1Kz8dbv+7w4oVyvHAsCXqmjSXJ7GgNpXK6Nuc22aAQhO76WoKlk5eTCVcN/KC+tZoH50vMpzyfoVxCwI3gfoDimngsX/ITg7eX2hzSZecsGA== 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=samb6YmxJXJqPyt6xxvD/sfJtnUppDK6Ywp70GMvhb4=; b=IYeMp8JwL7qaD8f/aNoycQgnRimlDDpYw2xMZhgn6w2Sa0U9PmnwvSYR5+sw7bpPRbXz12wfcbKTPzDk0VIMWK6+kYoEySu3qLZWr0VJsq9J3CDMR61YPHx2frqUrKlaRsPpKSjj2zP0runZRPKcJSdkLwLOKxISjWbvRZqeSlYVZ2yp9dymh33Z7yMo/RPGf+UCrp+oM6DmqyIrQ77oZiKaeyODlS2EVAGPVlv5Lva0Fpf4e05AzrnugUBk4NQFOFxnEEaUEyyBea3ZH4E56tGE07odM+9WCPTno0hbC+K+3XC9UMfZUlYAaQwtghXVR9yluS7v8jdfr8yuomSTSg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BYAPR11MB3495.namprd11.prod.outlook.com (2603:10b6:a03:8a::14) by BY5PR11MB4055.namprd11.prod.outlook.com (2603:10b6:a03:18b::28) 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 00:44:18 +0000 Received: from BYAPR11MB3495.namprd11.prod.outlook.com ([fe80::8b:8b64:1a16:859c]) by BYAPR11MB3495.namprd11.prod.outlook.com ([fe80::8b:8b64:1a16:859c%3]) with mapi id 15.20.4909.017; Tue, 25 Jan 2022 00:44:18 +0000 From: "Wang, Haiyue" To: Stephen Hemminger , "dev@dpdk.org" Subject: RE: [PATCH v2 54/83] net/igc: remove unnecessary NULL checks Thread-Topic: [PATCH v2 54/83] net/igc: remove unnecessary NULL checks Thread-Index: AQHYEUqmW1GuzNulO02PDgUBS/eYZaxy5q9Q Date: Tue, 25 Jan 2022 00:44:18 +0000 Message-ID: References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124174719.14417-1-stephen@networkplumber.org> <20220124174719.14417-55-stephen@networkplumber.org> In-Reply-To: <20220124174719.14417-55-stephen@networkplumber.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 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: 8f6e8d3b-6a64-45b1-3ef1-08d9df9bd1e5 x-ms-traffictypediagnostic: BY5PR11MB4055: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: SsQS8Ra06hfqJqWRdrkiPagHO1Wj1CABdmO79TJJwIgmu6UM9Ak3RvTHZhArCxk1GOuBR7Qfo2avx/zNKInLsZWqWZn4yVBzp7Qp6hxHoSGR+uGfY4zNN8ZHxsQ8JrdThOsM54hDsXnBAnfHavuF+BYhQQc6TJ+gYwmiCZD5kO2BW/K2BZrznSPBSMusBvv7v31du7o/JgNna46VKkvZ3tcTZdDCrqt96kz52TRMkLA9TJMx7ViyNTCNn3xRmhF9QDb3nbs66ynNIHYGn8OFtbcM1l1lpvTDhooFFfzQlB3z8BNJ/aecKlaT2Guhe42So0Mx1LbULtFKGfMpIi0f3mvyassk3Nsb5L7REw/FmcN6q0ts8l8stGP3dQBklIA/KXNI4a6Evve5RecSF0By9djG9i3uohHgpYGLdxrZM3aAgFLONrnl0BFHmtsxRPm8FC72tGK521HK90F7rF+KMqC3oD6mNRxAI3ZoObAlJDe3Yu05fHikwgVJBG0TETnJZ1ifRL3JEZ31FdgUqD1Xc+KivLcwo87etmJPBujdVrnIVZw1X581R1zTDWduuaqHg3OILHFjZJNseI3R/7xWZbXSUuLeDH62NoWozpaufrtomQpxpBijwULT7XAX/fcnOAuaimRQL2UiDgSp1tFJ9m42f5cwOkWqwN+7d9S6l35nPiZHRIuS3eMWbaJVx9SpCm73qSBRmsfGtkY/DoYG0w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3495.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(53546011)(8676002)(110136005)(316002)(66946007)(9686003)(2906002)(186003)(86362001)(52536014)(122000001)(33656002)(8936002)(71200400001)(83380400001)(4744005)(64756008)(66476007)(6506007)(508600001)(7696005)(66446008)(55016003)(38070700005)(76116006)(26005)(38100700002)(5660300002)(66556008)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TwThhXqTTrzKD5q1Gge48dLKWGIT8R24KiUK/TvzyckpknPDoyFjrc8W2gmE?= =?us-ascii?Q?/WC8qrU33QPcbMUVvisqIdWQe3yA7jGdDXCrJYKkR7dp7ilTajut7YSPPZ55?= =?us-ascii?Q?n0fYl3Yic5uQURygPrzRH1weBixfsyE2jthqhVGuk6wKKQfWUE19DkTeyDQn?= =?us-ascii?Q?aTKMwYaJxMiJJLqc7m+wSpzmD39QwEmwlKqMfMR8u/lfAFp0fqpP96F31+ZZ?= =?us-ascii?Q?+5AUkydwpAC9bfRwntNRWT1uyZuc/jnSnHtfoiSdBlJxQvvrwUlI94nl7jUg?= =?us-ascii?Q?ZfIRe504DJru7EtBAhsqCteH02Z+rpHIr7fQlM1EKcde8JBRNAO1UaEXlll7?= =?us-ascii?Q?3GSW4dcj8IYrMCjN5zJ1Rk4ZcPsXU3d1zad8PYHvKG8ol6zQELWTw0TMYdk7?= =?us-ascii?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aJJ5Dmhh4o0r?= =?us-ascii?Q?dPzqbE6QwEFclNhadR7Kghcw/aaVIIY13tVY5IroRJLqn8BPWuNcAJs8jUFe?= =?us-ascii?Q?eBqjcQ5Z1IUrAr3kxUBJ5/r1pKKBCwk7ATDM2gOCBoECJf8d8HLMVVF4ydv/?= =?us-ascii?Q?zFDqM8IU8XBIm9uYTwXdRHJ+vq+G94uih2MHi93Nzqjawvs0QVoYugtSTgLv?= =?us-ascii?Q?lXh5Tv1npunS/HdSRK4V9N60B4ZiJoXzZUBSpWVkUiyhkXlMO1Z2zFNiRUaO?= =?us-ascii?Q?ibNFvW6nQEHUrLGM9lFzxhPNByKXEutaTc0huLYysmhXyxTCrVjVwaBtSzQ1?= =?us-ascii?Q?PHq2VAmwcmruT0OiyZN2YuY=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: BYAPR11MB3495.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f6e8d3b-6a64-45b1-3ef1-08d9df9bd1e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2022 00:44:18.3413 (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: a0gG32z0z1Aed21PsfZ8YtSCkdXof/9j3jHX+1oShtuqaf46HNz+P0vk6cSTK3UMZr67QfXN4TZxLebG71wA0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4055 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: Tuesday, January 25, 2022 01:47 > To: dev@dpdk.org > Cc: Stephen Hemminger ; Wang, Haiyue > Subject: [PATCH v2 54/83] net/igc: remove unnecessary NULL checks >=20 > Remove redundant NULL pointer checks before free functions > found by nullfree.cocci >=20 > Signed-off-by: Stephen Hemminger > --- > drivers/net/igc/igc_flow.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) >=20 Acked-by: Haiyue Wang > 2.30.2