[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210928200811.22059-1-liumh1@shanghaitech.edu.cn>
Date: Wed, 29 Sep 2021 04:08:11 +0800
From: Mianhan Liu <liumh1@...nghaitech.edu.cn>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>
CC: <linux-arm-msm@...r.kernel.org>, <linux-bluetooth@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Mianhan Liu <liumh1@...nghaitech.edu.cn>
Subject: [PATCH -next -v2] ./drivers/bluetooth/btqcomsmd.c: remove superfluous header files from btqcomsmd.c
btqcomsmd.c hasn't use any macro or function declared in linux/of.h
and linux/slab.h.
Thus, these files can be removed from btqcomsmd.c safely without
affecting the compilation of the ./drivers/bluetooth module
Signed-off-by: Mianhan Liu <liumh1@...nghaitech.edu.cn>
---
drivers/bluetooth/btqcomsmd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/bluetooth/btqcomsmd.c b/drivers/bluetooth/btqcomsmd.c
index 2acb719e5..e556d96a4 100644
--- a/drivers/bluetooth/btqcomsmd.c
+++ b/drivers/bluetooth/btqcomsmd.c
@@ -5,9 +5,7 @@
*/
#include <linux/module.h>
-#include <linux/slab.h>
#include <linux/rpmsg.h>
-#include <linux/of.h>
#include <linux/soc/qcom/wcnss_ctrl.h>
#include <linux/platform_device.h>
--
2.25.1
Powered by blists - more mailing lists