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 3568CA04A5; Wed, 26 Jan 2022 08:01:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 26CFD42701; Wed, 26 Jan 2022 08:01:01 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2060.outbound.protection.outlook.com [40.107.220.60]) by mails.dpdk.org (Postfix) with ESMTP id 368A7426FC for ; Wed, 26 Jan 2022 08:00:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ce8jCO9T9nrRdpvOIoshVF9ryxQOG+3ZsFyfiY5l0ib2erR+sN7XM4ajVISS1blwjDYJS6n1pw8VlRTPxLhvibkKAAIbcedykHNihTuGgRF3D4r8onVLb7EVWKtMjzsIcCep3+TZ4VToFxblP0SL/+fw/Y05sux/Gr8GRnSj3SmZJkl46oRWHKTYCBeSxekJbOw8zjGr3r7BX2VFwSklrZGEkc1O38pLMr0pc/a1HG4RvTrptSq5MdB8mA55YBZo9Ou3vP7T/oDc9B9rTguH2pBMp0hWU5/ihIYtzRQpsLjMhJokXevKdVOAOLE0l9nnZh7QcKF3NwU96iJWSKfm7w== 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=QPmMrxZDkTZ7jpjvkvfI1dz6SZkedHBU0GQQAyW9pUQ=; b=VfwccLgUaS0I0RcbzTWBjlVL8N0V4OVfP0+Z0iyXlz1kMwoIE8h9iC/7YGAnlgXKBw1p6cOlhglsO7KlTe7YmB78kAZc5H+vl9lbr8uofFLX9VewgZGs1UZX4PWOc3tbXi67BKsoVxmuFsOk2rJRijgnU6SGbpfsQdRjYJECBBbRoH4sL+w5RC61BN+24Nkur3/kp8cpjnHG3T51JfXn+Y+MfSIFScAvoZ42t7JmbBD6n1Q4TcMkm53r4Crr4N52yHHse0aNM5jVWXyUbosWnEPnYlCDSEM030mwMYvmoHwgEyQfSSHY1PHE69q2cwQx0qfuL9TLXlDYPL5dM+UGKA== 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=QPmMrxZDkTZ7jpjvkvfI1dz6SZkedHBU0GQQAyW9pUQ=; b=HvGhu5PX6KCR9jqRmrBoowheA8ztnke2qT8wkDQwKBBUIv4LMpxHHqGRFRqx5XVtk/Omwu+uskihKK52beIxfE79nYnhRdEwETTyKh+9OiMVBDrPGnMXJtJs6KFDovAh3FZlPXL7KDG8AcrKu18lZYyS4Gqm2xGqGAgzVg+hxf7rgCUBkX9qQf6YpYrzxaJJ/syn0/RyE08DlgM2CWa/CW/Rr1p9klLpbTZjFvBS3eMOg/l3Sz1D/7J19zBy1BffONwI+hTy2B/1XZNeqZmtcfWXzVohdBkG1cVM3vfrKyVneQQAay9g5RexYG/plX+HAZZfNPTV8j1rBmDqNpP2XQ== 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:57 +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:57 +0000 From: Slava Ovsiienko To: Stephen Hemminger , "dev@dpdk.org" CC: Matan Azrad Subject: RE: [PATCH v2 58/83] net/mlx5: remove unnecessary NULL checks Thread-Topic: [PATCH v2 58/83] net/mlx5: remove unnecessary NULL checks Thread-Index: AQHYEUqXTLteIDQIfUSH58YLEyQNQqx04k8g Date: Wed, 26 Jan 2022 07:00:57 +0000 Message-ID: References: <20220124000518.319850-1-stephen@networkplumber.org> <20220124174719.14417-1-stephen@networkplumber.org> <20220124174719.14417-59-stephen@networkplumber.org> In-Reply-To: <20220124174719.14417-59-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: 2a52a140-eaac-41ea-fe4f-08d9e0999a9f 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: B5WK+BwUepwfDYGIqShg92vPNFO742um18VU2CpjHiVuWoNeETh+yfmXqc2IXUeCPpTcBgCIStgjJX5VqaRwcH6LDVJN8pE4WtTs4x73d48tySq56zA6pgufjvQkbnb2w1CRr2Ac/ws63shr/poZkkuivh/7oGxjqVe2WgRPl4l9NdWCdsVqzvQa39Tlz2IfLUfZrzkfRC/56QGPnszan9RZ3bqoqTyReajMsjD0BlZQZZDhfBpoENHJ5FlGf8hJidV8egXgGNDU7kKPDnAGXw6/w8xKox//CoO+NrFppVt+wrQqXGFfc26NxqQnjtHD/1qghl1G17uU2+Jg81yCVJH5DOurQ5yPEAn7XJthGStknp0adU749kuCfKWxw9JM1k+1/MnH/eyUqA9NTm7aepcgRf4rd5DvaJVAT2xTl3SkDxxs85Wf23bpViRH1A9LJkUOyOkVoxPdWW5s3KoUGorbNj9nQGx4vLoZz+/eXACm0IDERE2/1OWeh6GF5EDh8Gq9h5KFZjVihhNnAZOxPUhPdIS6sHXVOhQrMoctBn3Xwf3ZHI9860fh1N+iMyvP5Z66Ih0LC2A7W5OIOsTJAdEmMpsZ5YmXqe3vTZAv3gWOLPW+fEfQ4DaGIFPy+F8D5PcIKQcm4pZOV45jgIIuV1x2OmOApDEX+DuldoMaFEgVkGNjPPb/ViqAgC5AX3roDAivPKS73HHObf8gNxFaaQ== 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?DD9Ma/ywYZfogMBTFajYvGt80Oi2CdVv1kjuhfTTEiAOYEhWu5pvuLKGg0Mk?= =?us-ascii?Q?idPYZ5E6s1xw2Kj0rZVN3A4AkaLDASWzFbd/U9RSG7mgRqGwJKs6fdA8pEud?= =?us-ascii?Q?Xt415XwkN996KsVC0roynTXvKVifWJ0MlTkWi4WIbrDd4x5VKDNBH37Ed//O?= =?us-ascii?Q?X1KVCtmNdDfvub/FWN+nCj8lZgYUZIGAg8YqIfxPOQrqyfiCk4jFeaJ8+9AN?= =?us-ascii?Q?g3F91zo9TJaZ3xZaWBiHEkfASZm7S+7l/29dkiDH6OD51kbeFqI9ylmUaSfN?= =?us-ascii?Q?e0qWfKgxdsZpKNixhjg9WYgM8UtDRba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-ascii?Q?+chvyGZCvlSsl3Cn+mYkeV3H3runVap5rHtjNvLcIo7a+9snz9sgtA7C97HS?= =?us-ascii?Q?e6FV2g7T6WsUR7YO1Bt28fdw3uQp6XyRxzZX8pVGlvqdVNiIytaCXzDHqsKO?= =?us-ascii?Q?KKk0YYiR2su9EFQWYL1umRewaRnqb9L+8cN6SP+nlj/DwJUgsclE0VQuZhqz?= =?us-ascii?Q?enMAoJvQaA1VTiFYKhL/tThQM61Jfm4EfCS35/a7XnBeIiECii0zKz/NMQei?= =?us-ascii?Q?t56Mjcn+B3URSWoVdsscA696/997Y2fdGDSAQWTjJRioXfIh/i5LhoOplagb?= =?us-ascii?Q?w57z56iJqynL7fWO7HVIjXPil6N98tNeLAT/QfcNpL+ph7c5nUlGGrr8kM1B?= =?us-ascii?Q?AXkd1KJe0ic3uXaW9QrutAxQJmz4rEH2aR9D8XZL9GswvMtmj4X6FS5tLfUf?= =?us-ascii?Q?uA=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: 2a52a140-eaac-41ea-fe4f-08d9e0999a9f X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2022 07:00:57.7493 (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: luuwkYnXnd8oDleCxp7ZSOvdN7M4jNLfAEFlRk/9W0EwOxnQ2v0+xtHGzp3LF6MRVZTQkBH+878CM12RzW4b1w== 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 58/83] net/mlx5: 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