2023-07-19 08:45:12

by Dmitry Antipov

[permalink] [raw]
Subject: [PATCH] wifi: brcmsmac: remove unused data type

Remove unused 'struct gpioh_item'. It seems it was so since
commit 5b435de0d786 ("net: wireless: add brcm80211 drivers").

Signed-off-by: Dmitry Antipov <[email protected]>
---
.../net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h | 8 --------
1 file changed, 8 deletions(-)

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h
index 2d08c155c23b..90b6e3982d2c 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h
@@ -145,14 +145,6 @@ struct si_pub {

struct pci_dev;

-struct gpioh_item {
- void *arg;
- bool level;
- void (*handler) (u32 stat, void *arg);
- u32 event;
- struct gpioh_item *next;
-};
-
/* misc si info needed by some of the routines */
struct si_info {
struct si_pub pub; /* back plane public state (must be first) */
--
2.41.0



2023-07-25 15:36:58

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: brcmsmac: remove unused data type

Dmitry Antipov <[email protected]> wrote:

> Remove unused 'struct gpioh_item'. It seems it was so since
> commit 5b435de0d786 ("net: wireless: add brcm80211 drivers").
>
> Signed-off-by: Dmitry Antipov <[email protected]>

Patch applied to wireless-next.git, thanks.

b2090d93d4b6 wifi: brcmsmac: remove unused data type

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches