[PATCH] rpmsg: char: Remove useless includes
From: Arnaud Pouliquen
Date: Thu Apr 29 2021 - 04:07:10 EST
Remove includes that are not requested to build the module.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@xxxxxxxxxxx>
---
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