diff mbox series

[1/4] net: wireless: broadcom: Remove duplicate struct declaration

Message ID 20210331023557.2804128-2-wanjiabing@vivo.com
State Accepted
Commit d663bc3317c9faf04c555331135a083b7648e939
Delegated to: Kalle Valo
Headers show
Series net: Remove duplicate struct declaration | expand

Commit Message

Wan Jiabing March 31, 2021, 2:35 a.m. UTC
struct brcmf_bus is declared twice. One has been declared
at 37th line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Kalle Valo April 18, 2021, 6:33 a.m. UTC | #1
Wan Jiabing <wanjiabing@vivo.com> wrote:

> struct brcmf_bus is declared twice. One has been declared
> at 37th line. Remove the duplicate.
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

2 patches applied to wireless-drivers-next.git, thanks.

d663bc3317c9 brcmfmac: Remove duplicate struct declaration
444a9af68b5c wilc1000: Remove duplicate struct declaration
diff mbox series

Patch

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
index 4146faeed344..44ba6f389fa9 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
@@ -112,7 +112,6 @@  do {									\
 
 extern int brcmf_msg_level;
 
-struct brcmf_bus;
 struct brcmf_pub;
 #ifdef DEBUG
 struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr);