diff mbox series

wifi: brcmsmac: remove unused data type

Message ID 20230719083232.158177-1-dmantipov@yandex.ru
State New
Headers show
Series wifi: brcmsmac: remove unused data type | expand

Commit Message

Dmitry Antipov July 19, 2023, 8:31 a.m. UTC
Remove unused 'struct gpioh_item'. It seems it was so since
commit 5b435de0d786 ("net: wireless: add brcm80211 drivers").

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
---
 .../net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h    | 8 --------
 1 file changed, 8 deletions(-)

Comments

Kalle Valo July 25, 2023, 3:16 p.m. UTC | #1
Dmitry Antipov <dmantipov@yandex.ru> wrote:

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

Patch applied to wireless-next.git, thanks.

b2090d93d4b6 wifi: brcmsmac: remove unused data type
diff mbox series

Patch

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) */