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 3E67DA0032; Tue, 25 Jan 2022 01:43:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B525411DD; Tue, 25 Jan 2022 01:43:58 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 6F17741186 for ; Tue, 25 Jan 2022 01:43:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643071437; x=1674607437; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=suWzE3bEs8zLT6LZ5mTPRan1/XRR4eVikVd6RUwWCi8=; b=OR8GgvrTTsQsEGqb8UbHMicYkmUayKCkKFnmFod5eTYDcwFxdItcvU8O aqC3dBcyY8GTBbXSsIvl5dybSXRfInLAvarWZbMql8qannqBBnJ0etPmn FILaoUL8DUJwG6VAhjlaV4EVV2+LKQmKDZD4Y0YUuSfIlvbFGYkNPomoo PXGJSdYvcAQxGd4bbN5muGbMUob0GhsvanxOr+fJlCfKLbkPg7aQgYiLx IuRHCYQigK2jnqhr56NG+pp9uOEkmjFOxU7v5LpLRgjN2JPsEDeYb3wWH tK6pzAx4M4NZq9/C1jJ+afPGgx40rviZyCPLBV9edNRltiKlUqFTo6Xv3 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="245966485" X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="245966485" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 16:43:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="627710042" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 24 Jan 2022 16:43:56 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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:43:56 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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; Mon, 24 Jan 2022 16:43:55 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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 via Frontend Transport; Mon, 24 Jan 2022 16:43:55 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) 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; Mon, 24 Jan 2022 16:43:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kbpgG3voZPKib799XtwENBbkNNanleZkdIILeOPCdtdwGRI7LCBhnkfgdQVXX6Xl4j0ey4zqWhxy1ncKmLQKDGsDLl8fO32Jjyux9Bi0xCA7UIsbSYGVgUGCx+yspBb4AhXVo+g8RwBriS0ez+lBN+0kE43Ij73rEsZ5i3Ve7uDcMWW9P0ZRn6ka3LB0zpvjAn+wtsxoJ0nOIqwZ4cpWMxbDhVE+Bk9Luw9AXeO5XdSQObHMfpzYJb7W9JrfbGSJUIWFk6BXy9crFYsCbiwO6apVUMNOKWYubb1o6wvAAhm4Kui2sD+5sH07BNcPkUFt0/ZQJtx3b5fw2EIqFsduzQ== 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=aFyjICs2bOfQhgqbflyjEiq8ZEX2J/9GrMEljPrwDPA=; b=Y8t8ACHRqwrPa0wrcMaIGbG7U7l0QeyccchxviZYduY8eWWP2bHcz8xIDZPDFJG78SxynftgfLmMykh4JsJZh9qc59c1QS+vhRWjwv1RlOznUXT9sEhfSYK0CagULmOQ/F2ZNw4V4J69StWez2DGQAEGR0rCu3w7Sqqe5duRLq1xJm+sMynYenL/FzT+NeLCmE4tauRSDaO70T8KOjci4DjRMk2PK+/ZZmZbvaFAKn6BbZjDYJnla4n1FL1MflUpyil8IgfF8hPJ7HKH0TrgYgPznE64/4lA7XGB74nYXEgdz6W3evSYafMdK9ZAnZjtHYQHY1g00bghc0GRf89D+g== 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:43:48 +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:43:48 +0000 From: "Wang, Haiyue" To: Stephen Hemminger , "dev@dpdk.org" Subject: RE: [PATCH v2 55/83] net/ixgbe: remove unnecessary NULL checks Thread-Topic: [PATCH v2 55/83] net/ixgbe: remove unnecessary NULL checks Thread-Index: AQHYEUrALV8YtwW+/EGRiEQNlcnEv6xy5oOg Date: Tue, 25 Jan 2022 00:43:48 +0000 Message-ID: References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124174719.14417-1-stephen@networkplumber.org> <20220124174719.14417-56-stephen@networkplumber.org> In-Reply-To: <20220124174719.14417-56-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: fa5a82a8-9f4c-4e40-aa4b-08d9df9bbff1 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: nl7p/R+OkvtkX8dhYJgiiGgw0ERp83W7iaJcaFztsTOs8HuxiTpIfA3ef0gwHJDcYh3ARh6st/QSQoPFBqoQQISXh/CnKtpcfxVYUanvtQslA2q8XgbtMAGcF+rjG5N9Miw5jOd9UK8+d48j61jwPdTZ6HlBnUELQSsogb8gohWB1dpq4lSxA3Qt1lZUxB72/z3au2bO6s+oGllgsEYps7ovu07eeHXCQ/KBwM8jOHXecA/gdxn0eUcLqcoDYjP33Rn4Tr9YVjRnFjma+hSUu/rTcF6YTR3ZAr8EWUWG8C8egbazb0jansK6uJA489fglXyORuV1vYjmeGlM0KGngfWyGOdISCHk5pnihTDaCXiIWX4zMWlPbEolLUkp/bW379AXR9SlAVpj2KTI44r4/hEjbl5OOmn2+2EEfA/C947ptzd0mPctdmY+kDCT2yAo+pg+tbhhVTGD8lFJrAQksZqrJbiGHLxONYf+Jvpp0LtTYeGD50Na0oys7bubXcWKBmt4tuXEdWMhnA/afplMgKFM7JuaFI6lqTp06vK3SaUCgtcxAhq51/vh1lt9xn45mHd64jdDAJ/zVjuliQv7KVLwphaoQE/KzAhA4o5j0av2qix+c+Hckar7WViK1Ow+thcQki5MaDM5LESLlaqjn3j8xFpepePOlchyG3LHBcJ/kp1tAP4jkMbt19gqdn6GUg1y+4ozLzuJjAKU/hYZCQ== 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?e0iJoci2Sv0D/ovSq6L2PxPKnyYTOCcm0ulM6wEMnfAtIEugW2PFKVTJYWAd?= =?us-ascii?Q?c6FlBbvbt7wjuZGvp5OJraXefb3vOMSCm3ol53ZernS68V/tnEZaWElb1rPr?= =?us-ascii?Q?8BTZkI6YA1DvShP0NoruO1ZKpIwHaM2SyeL0c9+Ldnn7sw9JZjDCQeFAjkli?= =?us-ascii?Q?8DI+dRGPbA0yEF7NkJCGzxOtM2OfxOm3vMT7o3eCAdDEfXW6EXFU0iaAUpex?= =?us-ascii?Q?PlPLuB6MJ6UKi9uKfCGVwp7PQLlKbVc4cXgSltaCXXqkUXrKMuUL0Jq5Vs7X?= =?us-ascii?Q?nOZYKut65OX7WDrl55tqwOcDDwJHLk0hA9MCYMGtsQe2FYPajubigmNymLrF?= =?us-ascii?Q?clLV9byo1Fvi4ZE64UWDZsaeygcYjereYKtjwDMXYU8h/NkIR1YZh3KSZdAa?= =?us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AKD44KiVoRc?= =?us-ascii?Q?joNm1Zn2J2qJHyfvvXn2BUUG2aqTgLqs00gnxesBxnaOzFCays2Yye2FxpB8?= =?us-ascii?Q?JbL6+nFpx86kLEppJt9RUoZZbV5WP1n3A0TIYUc+ck479WZXChSSizBQRwrc?= =?us-ascii?Q?c/N35LKXTggHbnimbAmukjVNSt/5D4qsZHMuolgh9QBstF1cf71citVtr2uU?= =?us-ascii?Q?AKdBbLStZKV3/gTLwn9jMzjD22rMXGFPyx9oXvcc+d/rAwgcWHEi6A/nkzp2?= =?us-ascii?Q?0a0Dcsd6ibACK0DHNFRgqdXjO61Eujk4VYvMwmEobbapp+CGQx02ZNPVr/IX?= =?us-ascii?Q?JQSWbQFW/DV0nckHdySrFko=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: fa5a82a8-9f4c-4e40-aa4b-08d9df9bbff1 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2022 00:43:48.2067 (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: /hepREtW7ULIFDzxZ3Lm3r+ODrUlnJxBXyYR231xvx98z7QMerfCoD4x6jWfUhGKis5xFy1w2GLJXANfQVKdMg== 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 55/83] net/ixgbe: 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/ixgbe/ixgbe_ethdev.c | 12 ++++-------- > drivers/net/ixgbe/ixgbe_rxtx.c | 3 +-- > 2 files changed, 5 insertions(+), 10 deletions(-) >=20 Acked-by: Haiyue Wang > -- > 2.30.2