diff mbox series

drivers: net: wireless: struct lbs_private is declared duplicately

Message ID 20210325064154.854245-1-wanjiabing@vivo.com (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series drivers: net: wireless: struct lbs_private is declared duplicately | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Jiabing Wan 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.
Kalle Valo April 18, 2021, 6:29 a.m. UTC | #2
Wan Jiabing <wanjiabing@vivo.com> wrote:

> struct lbs_private has been declared at 22nd line.
> Remove the duplicate.
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Patch applied to wireless-drivers-next.git, thanks.

d3240418a662 libertas: struct lbs_private is declared duplicately
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;