[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210928192142.5525-1-liumh1@shanghaitech.edu.cn>
Date: Wed, 29 Sep 2021 03:21:42 +0800
From: Mianhan Liu <liumh1@...nghaitech.edu.cn>
To: Miguel Ojeda <ojeda@...nel.org>
CC: <linux-kernel@...r.kernel.org>,
Mianhan Liu <liumh1@...nghaitech.edu.cn>
Subject: [PATCH -next] drivers/auxdisplay/cfag12864bfb.c: remove superfluous header files from cfag12864bfb.c
cfag12864bfb.c hasn't use any macro or function declared in linux/delay.h,
linux/string.h and linux/uaccess.h.
Thus, these files can be removed from cfag12864bfb.c safely without
affecting the compilation of the drivers/auxdisplay/ module
Signed-off-by: Mianhan Liu <liumh1@...nghaitech.edu.cn>
---
drivers/auxdisplay/cfag12864bfb.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/auxdisplay/cfag12864bfb.c b/drivers/auxdisplay/cfag12864bfb.c
index d66821adf..9e6681f19 100644
--- a/drivers/auxdisplay/cfag12864bfb.c
+++ b/drivers/auxdisplay/cfag12864bfb.c
@@ -12,13 +12,10 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
-#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fb.h>
#include <linux/mm.h>
#include <linux/platform_device.h>
-#include <linux/string.h>
-#include <linux/uaccess.h>
#include <linux/cfag12864b.h>
#define CFAG12864BFB_NAME "cfag12864bfb"
--
2.25.1
Powered by blists - more mailing lists