* [PATCH -next] ./drivers/bluetooth/btrsi.c: remove superfluous header files from btrsi.c
@ 2021-09-28 19:59 Mianhan Liu
2021-09-28 22:14 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Mianhan Liu @ 2021-09-28 19:59 UTC (permalink / raw)
To: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz
Cc: linux-bluetooth, linux-kernel, Mianhan Liu
btrsi.c hasn't use any macro or function declared in net/genetlink.h.
Thus, these files can be removed from btrsi.c safely without
affecting the compilation of the ./drivers/bluetooth module
Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
---
drivers/bluetooth/btrsi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/bluetooth/btrsi.c b/drivers/bluetooth/btrsi.c
index 8646b6dd1..634cf8f5e 100644
--- a/drivers/bluetooth/btrsi.c
+++ b/drivers/bluetooth/btrsi.c
@@ -19,7 +19,6 @@
#include <net/bluetooth/hci_core.h>
#include <asm/unaligned.h>
#include <net/rsi_91x.h>
-#include <net/genetlink.h>
#define RSI_DMA_ALIGN 8
#define RSI_FRAME_DESC_SIZE 16
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] ./drivers/bluetooth/btrsi.c: remove superfluous header files from btrsi.c
2021-09-28 19:59 [PATCH -next] ./drivers/bluetooth/btrsi.c: remove superfluous header files from btrsi.c Mianhan Liu
@ 2021-09-28 22:14 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2021-09-28 22:14 UTC (permalink / raw)
To: Mianhan Liu
Cc: Johan Hedberg, Luiz Augusto von Dentz, linux-bluetooth, linux-kernel
Hi Mianhan,
> btrsi.c hasn't use any macro or function declared in net/genetlink.h.
> Thus, these files can be removed from btrsi.c safely without
> affecting the compilation of the ./drivers/bluetooth module
>
> Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
>
> ---
> drivers/bluetooth/btrsi.c | 1 -
> 1 file changed, 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-28 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 19:59 [PATCH -next] ./drivers/bluetooth/btrsi.c: remove superfluous header files from btrsi.c Mianhan Liu
2021-09-28 22:14 ` Marcel Holtmann
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).