[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210429080639.6379-1-arnaud.pouliquen@foss.st.com>
Date: Thu, 29 Apr 2021 10:06:39 +0200
From: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>,
Ohad Ben-Cohen <ohad@...ery.com>,
Mathieu Poirier <mathieu.poirier@...aro.org>
CC: <linux-remoteproc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<arnaud.pouliquen@...s.st.com>
Subject: [PATCH] rpmsg: char: Remove useless includes
Remove includes that are not requested to build the module.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
---
applied without issue on Bjorn next branch (dc0e14fa833b)
---
drivers/rpmsg/rpmsg_char.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c
index 2bebc9b2d163..e4e54f515af6 100644
--- a/drivers/rpmsg/rpmsg_char.c
+++ b/drivers/rpmsg/rpmsg_char.c
@@ -10,19 +10,10 @@
* was based on TI & Google OMX rpmsg driver.
*/
#include <linux/cdev.h>
-#include <linux/device.h>
-#include <linux/fs.h>
-#include <linux/idr.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/poll.h>
#include <linux/rpmsg.h>
#include <linux/skbuff.h>
-#include <linux/slab.h>
-#include <linux/uaccess.h>
-#include <uapi/linux/rpmsg.h>
-
-#include "rpmsg_internal.h"
#define RPMSG_DEV_MAX (MINORMASK + 1)
--
2.17.1
Powered by blists - more mailing lists