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 2A012A00C2; Wed, 26 Jan 2022 08:00:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF547426FF; Wed, 26 Jan 2022 08:00:39 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) by mails.dpdk.org (Postfix) with ESMTP id BD1F6426FC for ; Wed, 26 Jan 2022 08:00:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wji7wM4344HZyu4X6+38UaSEY6nsJP6tcn1P/NTylZSb7WhonYkxmAcgYZhHb/I0IYxOago0ZmrGc7wLvQEbrh7NF8+DPBS02a8XATIRKRnFs5UI+d9X56T7W3e+5mbSnNSfoK0ui+6yQ0CWwZ/m0awpU/VR9NvaLx8eD0v3ZnOK1RL6GFJF0QL57ggYnVh+4ucmUenKCtew3uC+a1x3j+EL9n5rruXyr2fy245MDlPcT+WPsFWMiWm6vjQx9wxF17dDlpjo6kW662w4iRks2h9GlwzM/78m2sVsGPjBuAn+xXM4yKXQ5aSmzpwSXWmHTcrTlNdn8ypQcCBw7ZNNDg== 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=VrAW0/Q/zYL2t1Y//TENJjYTYhTzc8dU81uOMCHTr0s=; b=F4qO2LSfAdQunpISsf9b45X0Hb3IlorHwo12tx4nJaAr0/mSx4JlsuYSZkXmyvgNBwWGmpovBwjfu8i6b8I/DiT4O/OHfwynRKp9tvd5WYSpf2zS7SE8H0y+ohrFMSrf22UvtDnKRgJfHPJUz7gcvIhXyrmy4/WxLN+uHZ8EKyzRfqHyihSgBmZgjn27adPOhSjoSMvZoZVIRJm4ri+0ZRjVPGYHvuBGTiMDQ8WA8R8rhhgm2ce0Ybh6hmzMdM6GZo0yW67hGQYTP7leSrRegeBZYjfamiEDQQEhNMz76pM7Z3rBQrKxI55XTq3FVhGSkTtkpM2n5C81Zo6cKPANSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VrAW0/Q/zYL2t1Y//TENJjYTYhTzc8dU81uOMCHTr0s=; b=X+CsLPxHFc8lbghEcaOvci1+PoFhp+hwhcxfNkGpMm5Y5aazov6tdWqXHtuJfbChlAEy4gerOtGHW2ISI9j2dQP6IxUjymRhIKIWgyYFlq6+sRRUyY2yNlel1J8KprKc0BEndXKhvhVii1MSKYNzScKx2e4jW5dppbJv8OqauGyZfxEsa9k25cu1E+myvzStU1BijJwgxpaokpITVI2RESHouvRsioh7lWBQxHi+8Fxjc7OICwMfSTDfM1ouE2yBJsS+G7UmWZcdH/YT61Gjl8nfJlhVz08mdk73817PpFc40kBkiQplE4fKgx6o6mwtSZQff7kLa5Xn5hiXsvI3cQ== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3532.namprd12.prod.outlook.com (2603:10b6:5:182::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Wed, 26 Jan 2022 07:00:36 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::6138:8f8a:aff7:4d6b]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::6138:8f8a:aff7:4d6b%5]) with mapi id 15.20.4909.017; Wed, 26 Jan 2022 07:00:36 +0000 From: Slava Ovsiienko To: Stephen Hemminger , "dev@dpdk.org" CC: Matan Azrad Subject: RE: [PATCH v2 57/83] net/mlx4: remove unnecessary NULL checks Thread-Topic: [PATCH v2 57/83] net/mlx4: remove unnecessary NULL checks Thread-Index: AQHYEUqWtUwxxGIYn0KjKzV93V4t4Kx04h9w Date: Wed, 26 Jan 2022 07:00:36 +0000 Message-ID: References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124174719.14417-1-stephen@networkplumber.org> <20220124174719.14417-58-stephen@networkplumber.org> In-Reply-To: <20220124174719.14417-58-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 18d29a80-d255-4538-7b6f-08d9e0998ddb x-ms-traffictypediagnostic: DM6PR12MB3532: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: 0UPaH3nde+GfFqOveyt0GPO4kvC9zYJt5AGWSrKfsfJDK9/919i1EHfbrWCHvTA7Knf/E6BMNGPQA/EmhZszAGWrDfluyQPBTas9enZX/6AFSdSfr75sWSTfG2crUamTK5qK/TaE3g+CWnMH1rfHz7fvnRB48NKTI01SFpY/PA2iPbLF7jIKjulswtjC2QBLh/+x+J8jUp/Cn6tZpckfPemDehaKtyhkYX+Lb8g77JGl4L/TJ/y2RYnHtyUo20WscZPPbhmqgrbeST3JUB6WKiFh5LXz/voODzWkBYIxpcIe9nz4ouiCDOI/adC2VeCsuyfNcDwlRkhZ8Pvqi1kBp4qTzjiZbz4359BUnRmiuS2HptF+3fDrzXw9DKjXJ16hYbiiJeYAMybACUpAoXu7O+Kwp0CJmoD9GNj5zJV6LulEYYFP4uvhRGHY4W8JpFKktA+8vkL1tlgwW/cNNr45Z2NlL1nV+liUdx2e/CBQBBC4VeSWewRpGLha9om6rxQBnFyywZLwW6xGBlkNivKkVTuK/2DIkQM016bB+ifiInfWRFfUkpZ5wdTFbr8qqjrdQykYQrhptwubNma1FUAhpDod6avUHqpzaV4tDgzWQla8RxFlM2n1FH1y5ipjK2uBmiZVNvqF0EI6w6ErglQXOq9Ph8hc8IWqiFVRxnVVpS+DBHDGwuj5iKXr+y8bEABMENbtJ+1Bc3LfkHPklsrxLQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016003)(66476007)(2906002)(9686003)(107886003)(66556008)(110136005)(6506007)(71200400001)(316002)(4744005)(83380400001)(66446008)(5660300002)(38100700002)(4326008)(8936002)(26005)(52536014)(186003)(7696005)(86362001)(8676002)(508600001)(64756008)(33656002)(76116006)(66946007)(38070700005)(53546011)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5zoqLrvFR+sX7Yg9KJv0eK4WxuFxzQ8m+QEr2j6VGiMGpy8IzQTNLT6uUEDN?= =?us-ascii?Q?5IsipW5qBu6fxUA1jJPB2ZQQD5qHP8ftacnzRWxIZnuX9f556y9qGBNhrAvI?= =?us-ascii?Q?LDxQyWp5L2G+Jd+6Sb2wDQ6HoU9XedOPQi1SpA2K9pTPVQjM8L+CiI3FNaXw?= =?us-ascii?Q?hTToeVvi6KJuV1xdf51qRwuiiYcwSBew875q6fuPneVuqiOAZwj6bZTDIdEy?= =?us-ascii?Q?NYJd1Om17RnIdCnZsWTGUwIuX9ITCZ0y4PRSKnB+aRLUHgALkRagq5CIX+zH?= =?us-ascii?Q?+QdgZbmzTgF69nWy58cjmCBBH8Fp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=?us-ascii?Q?elW/YIRTUhuu/e4TW6Se6GIVxvEW5S1VBJgGB9Gyve2dUPQJedXy5hmCks7w?= =?us-ascii?Q?9O1IXXOtQx+j/BsNH17ElWD3n1V0jA8TB9f9igsQbdqR/JmObGuqF3+VY7cY?= =?us-ascii?Q?G8VRzzLwXB1xv5QmLr6+fMCHywVQLYA4cDa21h4RV8EACX5DYB3xM4iVBR3Z?= =?us-ascii?Q?GMJZqJMmmC8hLFpl4OVAUaeCgi0LbdSL5VaR2zyjscOhlL9vZCO22Va2NzQa?= =?us-ascii?Q?9gWOXaRTgMgoStsoW1LX7CDNQ9iHuO9J4Ct/T9gAN84+KEyyDq8jSvqUqsf6?= =?us-ascii?Q?cbU1hycXOLuZaSUX4bBJmMuCYVihu9JkM9diBVcX8ZQ95SLz5ZVMRRkRIg9r?= =?us-ascii?Q?5Z6zMLKYnxOwTs/QXu2EGqwccy1yXN1U2bKe1FfpRDlcURYWt/l1tTln+Kol?= =?us-ascii?Q?xA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18d29a80-d255-4538-7b6f-08d9e0998ddb X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2022 07:00:36.3131 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 07Kpu02H6ST1fOvL1amUuR/s8lBHvnqwhEXfvo55d0N0WWcfdS35+AvkfRgkmCmEdLcBIXdmElu5Bl+3Stxhkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3532 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 19:47 > To: dev@dpdk.org > Cc: Stephen Hemminger ; Matan Azrad > ; Slava Ovsiienko > Subject: [PATCH v2 57/83] net/mlx4: 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: Viacheslav Ovsiienko