Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2315207rdb; Sun, 11 Feb 2024 23:52:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLvW9RZipZNf/vDwK0wOZoCbuE0xfkYaohk+gp6rS+WeKMkB+w0Bg2IwSFiAe1ofk333wV X-Received: by 2002:a17:902:b696:b0:1d6:fe11:2642 with SMTP id c22-20020a170902b69600b001d6fe112642mr4889409pls.27.1707724355875; Sun, 11 Feb 2024 23:52:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707724355; cv=pass; d=google.com; s=arc-20160816; b=fpy4ZCj6h2xgVJySr64bFSW23NgeF3YmCilQdkwPlmEHRHcGoZtn82U5r+XVQfvh3/ Qi48wUW5Qgxnb/g7gdcyrdfCHrlFsuxiBZEeQB210tFg7owINqVFPciuqpg9dJT+7ktL HrvYAaQvsonBKnKGUBMItv31tPQoJYQg2H6qOzcvew7UUReCU68ktyCTekluXEPRiGAI J7K1pTGkUds8Cu2hWTHGsEY0UUiRMPNjDPfuAIuSRHnbEpaiNEUF7IS7P2MoXDO2N+1c QPnJRbGo+JJZ7BdP10UhJqXTgJ5PWirdTzzgHqX60RN6k8bexVDBcgNp9a3xN5/59IZY T96g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=d4WCViB2/A3Yw3ikUJootsnEMQUnEqVYiRN3vVVKkB0=; fh=Gx5n3yNw/7sxQj4+TVbzTlRDWiBgGtlyc5GZsLebliQ=; b=qOVkRN+0ah0+qNk6UTZqE5JUMTY3A8vrAHS2ENu0HJfobABlkASYhH4SzKstysUgpD wVjVO0Ldf4xB6RmD+Nrl3Q1kKgOBw9Sz6xvthvHWb8X8E+FsWjppCw37cI/IWTxb0ino pWH0Jqw1mJqGa4+qWLPqZ86cIq0KKy1z9/SjVv3G7u/0/nzGGBf3xUDWdCaf4BceeNqp 6yZFW8tgZ45VNL8VOllu2wyX+Qz/ZGE10WCQbYOuyVRoPPe0TE7uwHL/VuFUVlkvPYl3 SjvSBJDAH784Bn6N9Ao66phnO3ALOv3w/IXYdvpL/6P4HY0KX2ITmtsIMiveg7sNXUO+ e5mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aladdin.ru dmarc=pass fromdomain=aladdin.ru); spf=pass (google.com: domain of linux-wireless+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aladdin.ru X-Forwarded-Encrypted: i=2; AJvYcCUxaJvIT2sL2fuHsGOK7YuJayhxTlMd0L7b8AZ5mIJ4pgtWlaMRrngBkTP+jLZ7A2pWY0a6yjo5wpdNBWwOoxuDpEslRuzBeYLge4XJSw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f3-20020a17090274c300b001d91cb55574si5817847plt.383.2024.02.11.23.52.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 23:52:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aladdin.ru dmarc=pass fromdomain=aladdin.ru); spf=pass (google.com: domain of linux-wireless+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3434-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aladdin.ru Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 737A8284DD7 for ; Mon, 12 Feb 2024 07:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 732DD79C3; Mon, 12 Feb 2024 07:52:32 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from mail-out.aladdin-rd.ru (mail-out.aladdin-rd.ru [91.199.251.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 940D7747F; Mon, 12 Feb 2024 07:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.199.251.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707724352; cv=none; b=CRqZIdfSUusUhDMRmp2vdvXci1rQrwlklE8uw40XtpemenlwpKmqEPcuIvThPvF8cKiVDLPS9EJTOEudqBAuMCuLhkQjqZelDE4mEGD8BIjGTYt7jjoBcYm3Vp7ht5QeW9TLEQoufyx432GM/9akDbQrEOpo2dIJRnAFAD69rw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707724352; c=relaxed/simple; bh=d4WCViB2/A3Yw3ikUJootsnEMQUnEqVYiRN3vVVKkB0=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=AV8xyM0+xPkl0YkIbQ8xiB5r341efKGU++Of0PEQgd6zy/IoC0y51SeqHRKOpRfiwZSr1bxh/Iq3IWUKhpl7c6zmivXNgI78tlbnaZD12Zk4JQ7x4SibsphOsiP2TqMb8DXIQZcd8ljxkgbDCfunXYvLY1/tMsRS5avu6zOwEtw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aladdin.ru; spf=pass smtp.mailfrom=aladdin.ru; arc=none smtp.client-ip=91.199.251.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aladdin.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aladdin.ru From: Daniil Dulov To: Arend van Spriel , Kalle Valo CC: "David S. Miller" , Jakub Kicinski , Pieter-Paul Giesberts , "Franky (Zhenhui) Lin" , "John W. Linville" , Kan Yan , "linux-wireless@vger.kernel.org" , "brcm80211-dev-list.pdl@broadcom.com" , "SHA-cyfmac-dev-list@infineon.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "lvc-project@linuxtesting.org" Subject: RE: [PATCH] brcmfmac: Remove unnecessary NULL-check. Thread-Topic: [PATCH] brcmfmac: Remove unnecessary NULL-check. Thread-Index: AQHaXPu8Ul+O+I0pZkCmdWukSCEYrLEFU9mAgAAAXgCAAP98EA== Date: Mon, 12 Feb 2024 07:52:21 +0000 Message-ID: <766583ee1500472b8c1285bb2d9b0e9b@aladdin.ru> References: <20240211150516.3475-1-d.dulov@aladdin.ru> <60a0a753-47ba-4f80-b93e-2878f214bc3c@broadcom.com> <6afd3242-a691-4ad5-a849-ab1d02baa6d0@broadcom.com> In-Reply-To: <6afd3242-a691-4ad5-a849-ab1d02baa6d0@broadcom.com> Accept-Language: ru-RU, en-US Content-Language: ru-RU X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 SGVsbG8hDQoNClRoYW5rIHlvdSBmb3IgdGhlIHJldmlldyEgSSdsbCBjb3JyZWN0IHRoZSBwYXRj aCBhbmQgc2VuZCB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