diff mbox series

drivers: net: wireless: struct lbs_private is declared duplicately

Message ID 20210325064154.854245-1-wanjiabing@vivo.com
State New
Headers show
Series drivers: net: wireless: struct lbs_private is declared duplicately | expand

Commit Message

Wan Jiabing March 25, 2021, 6:41 a.m. UTC
struct lbs_private has been declared at 22nd line.
Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/net/wireless/marvell/libertas/decl.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Kalle Valo April 7, 2021, 11:43 a.m. UTC | #1
Wan Jiabing <wanjiabing@vivo.com> writes:

> struct lbs_private has been declared at 22nd line.
> Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  drivers/net/wireless/marvell/libertas/decl.h | 1 -
>  1 file changed, 1 deletion(-)

The prefix should be "libertas:", I can fix that during commit.
diff mbox series

Patch

diff --git a/drivers/net/wireless/marvell/libertas/decl.h b/drivers/net/wireless/marvell/libertas/decl.h
index 5d1e30e0c5db..c1e0388ef01d 100644
--- a/drivers/net/wireless/marvell/libertas/decl.h
+++ b/drivers/net/wireless/marvell/libertas/decl.h
@@ -23,7 +23,6 @@  struct lbs_private;
 typedef void (*lbs_fw_cb)(struct lbs_private *priv, int ret,
 		const struct firmware *helper, const struct firmware *mainfw);
 
-struct lbs_private;
 struct sk_buff;
 struct net_device;
 struct cmd_ds_command;