Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1760182lqb; Sun, 26 May 2024 16:46:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8FavqJp7nv/SQNwOhiwT/IkDs4GTeJZ3r63882A9sCFRM9dQRztmSgYY4VpgQuaxeMwU75VSJ246jZcIPQuv4v2/o35taYwOSmEALVw== X-Google-Smtp-Source: AGHT+IHx3TZqoTQofvQDFd31yISoMCGoHvPVCEkNO1xnrkCcUSdQai42BO8XKXY0ZEs59DClYimk X-Received: by 2002:a05:6a20:1014:b0:1b0:34ed:c931 with SMTP id adf61e73a8af0-1b212d51dacmr8883908637.37.1716767170830; Sun, 26 May 2024 16:46:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716767170; cv=pass; d=google.com; s=arc-20160816; b=YQslOOtL40VbjjsNd/7spGSjIH0L14xwtjB469L7dS0N0yGcO2ro3OchXmCC1ptUMG j0IP7TV6I//aJadEO3pKSy1oXQj0sDKLbb0gxr91SbKJIZhXVa0rOJb/ZTGzaFLGsPZC wcnv8ozKsT7ILmc93w3ljVcHewkYdZk9RE3cdQm7o184nJhqOzbnt+h/QcTdvHp5porX U6rHMpZyXlMWIBAX5Chb7pUYAplgfB72FVyHsEKIqyhNZLeBhvw+OpwnhNxF8fmhyCuF kJb61o1vCp6Ygz3npZxdh5X5P52Q+7TCJ8tmAA3H6TIS/EvgCOkEnnShU30GvDW9UNl7 xDlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=qiDGAoolFCI/rpAmXM4BDJt2JwmP7vG6h5f5QF4zoYY=; fh=q356lqolT+0wMbcRymZ9hOBuz221D0jUSX2W6qk68Jg=; b=KLAaMbFr3A5QI60L19gR8Q48S0Sjd3xAW5RotxymGh8hDXsyZCBBgWZCXxSIG/kKIf kSFWXGDqxWNspVrDbcZdGUSf7q4DHiKslLxgp/o6wdj6HvdpW/hE7OKjuj9L7Y45p3dx WvX9fqtEpkrJbRN+paLZVRx63lGfFeOT1fZ6yWQhsc/nSN7wLmnD26BKHDOW7ECSf7HE rcWzWxdsfRXTRULyDkF/O4PK1yjnhq+D5BVP1ehz90fwSsqgTf1l85+OHO/4pPvnpERc Ae5ZNNHjNOqZ7PXDvY3qf1JlwsHc6VmJFz/Nr35pm07B5TZzInRKQpDVH1MAm23LRmAC 4jSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=ORul72eL; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-wireless+bounces-8070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9dfcfcsi51570815ad.534.2024.05.26.16.46.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 16:46:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=ORul72eL; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-wireless+bounces-8070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3E853B2127C for ; Sun, 26 May 2024 23:46:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F6711EB3F; Sun, 26 May 2024 23:46:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="ORul72eL" X-Original-To: linux-wireless@vger.kernel.org Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C1532F46; Sun, 26 May 2024 23:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716767161; cv=none; b=EntIqJ//1sw0ga2yZP2gqXzxvytJFAohvvv/RrWONIsWSiLXaEH4OVpEd3mf/QH/YrfzcNZRW6aSOulcb+Tz1q41n02RzfsTq0cz9Z8fgyMhAY2Mp83wGgoIyX9H5aSr+fyPN0lWko1grYEj3lVW8UgABJ71j3Jz27F9/Kqpy/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716767161; c=relaxed/simple; bh=qXoqmCSRZqsK09WB7t0kMJUs/2SabjKRrcA53Ey6FAM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r2yTRF6JCzXX1y36ZDmnfySVkgUq8eFEP99ogacXZeK0ZaI74t52YdDY3XG0eWgo+M3pZaM0x59aAS1CmAlfSFPnK/MQ/eniVjhJ1VabSQmZjfbmW+hVai5qSKVG6mjzz4KhLz5UCqH4q8MEZ2Zfu9mDvqgP8t7z1LoHXpK6bDQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=ORul72eL; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=qiDGAoolFCI/rpAmXM4BDJt2JwmP7vG6h5f5QF4zoYY=; b=ORul72eLkU0mjtxe 2zuUg98R4TzLgV5yJAc+zJ4LxbhwwEdaW9+GHDuDWzqPc6OzVY/AgwwZCb1vlH8sCbGcgj1RLm8M7 Yc4Z+4KHGvoiL01rbYlsZdLM+SH9jEMgn658GIe292JxwRj8LZrh7u3P6hGmXAnhq6HxWaCr8ON94 DXZhcgXdQHDLKtLfrTMtTzWvTvZsm1G5GBWSNp11ICPX6aYjbdsCWSas29pEOJ8m8J5rBxa6xU51y lhUc9F5u00V9FVLjJHM+qWfRLgck0X3WkVIfxtrIwTRZwbtZWjLzWKOxc9mA96RHRAFVjBtAyCW1z SFLa6Df62XdntjUbDA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sBNYp-002bmh-2C; Sun, 26 May 2024 23:45:56 +0000 From: linux@treblig.org To: arend.vanspriel@broadcom.com, kvalo@kernel.org Cc: linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] wifi: brcm80211: remove unused structs Date: Mon, 27 May 2024 00:45:53 +0100 Message-ID: <20240526234553.286773-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'brcmf_pcie_core_info' was added in commit 9e37f045d5e7 ("brcmfmac: Adding PCIe bus layer support.") but never used. 'brcms_c_bit_desc' last use was removed in commit cdf4352f5c59 ("brcmsmac: Improve tx trace and debug support"). Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 5 ----- drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c | 6 ------ 2 files changed, 11 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c index 06698a714b52..ce482a3877e9 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c @@ -313,11 +313,6 @@ struct brcmf_pcie_shared_info { u8 version; }; -struct brcmf_pcie_core_info { - u32 base; - u32 wrapbase; -}; - #define BRCMF_OTP_MAX_PARAM_LEN 16 struct brcmf_otp_params { diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c index 34460b5815d0..4576b18fcd97 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c @@ -234,12 +234,6 @@ /* max # tx status to process in wlc_txstatus() */ #define TXSBND 8 -/* brcmu_format_flags() bit description structure */ -struct brcms_c_bit_desc { - u32 bit; - const char *name; -}; - /* * The following table lists the buffer memory allocated to xmt fifos in HW. * the size is in units of 256bytes(one block), total size is HW dependent -- 2.45.1