* [PATCH] [v3] drivers: staging: _adapter is declared twice
@ 2021-03-25 8:00 Wan Jiabing
2021-03-25 8:08 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-25 8:00 UTC (permalink / raw)
To: Larry Finger, Florian Schilhabel, Greg Kroah-Hartman,
Wan Jiabing, linux-staging, linux-kernel
Cc: kael_w
struct _adapter has been declared at 23rd line.
Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
Changelog:
v3:
- Delete trailing whitespace.
v2:
- Delete the blank line.
---
drivers/staging/rtl8712/drv_types.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h
index 0c4325073c63..a44d04effc8b 100644
--- a/drivers/staging/rtl8712/drv_types.h
+++ b/drivers/staging/rtl8712/drv_types.h
@@ -36,8 +36,6 @@ enum _NIC_VERSION {
RTL8716_NIC
};
-struct _adapter;
-
struct qos_priv {
/* bit mask option: u-apsd, s-apsd, ts, block ack... */
unsigned int qos_option;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [v3] drivers: staging: _adapter is declared twice
2021-03-25 8:00 [PATCH] [v3] drivers: staging: _adapter is declared twice Wan Jiabing
@ 2021-03-25 8:08 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2021-03-25 8:08 UTC (permalink / raw)
To: Wan Jiabing
Cc: Larry Finger, Florian Schilhabel, Greg Kroah-Hartman,
linux-staging, linux-kernel, kael_w
On Thu, Mar 25, 2021 at 04:00:46PM +0800, Wan Jiabing wrote:
> struct _adapter has been declared at 23rd line.
> Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
> Changelog:
> v3:
> - Delete trailing whitespace.
>
> v2:
> - Delete the blank line.
Bingo! :) Well done.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
regards,
dan carpenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-25 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 8:00 [PATCH] [v3] drivers: staging: _adapter is declared twice Wan Jiabing
2021-03-25 8:08 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).