linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] drivers/auxdisplay/cfag12864bfb.c: remove superfluous header files from cfag12864bfb.c
@ 2021-09-28 19:21 Mianhan Liu
  2021-10-21 22:09 ` Miguel Ojeda
  0 siblings, 1 reply; 2+ messages in thread
From: Mianhan Liu @ 2021-09-28 19:21 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: linux-kernel, Mianhan Liu

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@shanghaitech.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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] drivers/auxdisplay/cfag12864bfb.c: remove superfluous header files from cfag12864bfb.c
  2021-09-28 19:21 [PATCH -next] drivers/auxdisplay/cfag12864bfb.c: remove superfluous header files from cfag12864bfb.c Mianhan Liu
@ 2021-10-21 22:09 ` Miguel Ojeda
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2021-10-21 22:09 UTC (permalink / raw)
  To: Mianhan Liu; +Cc: Miguel Ojeda, linux-kernel

On Tue, Sep 28, 2021 at 9:21 PM Mianhan Liu <liumh1@shanghaitech.edu.cn> wrote:
>
> 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

Applied, thanks!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-21 22:09 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:21 [PATCH -next] drivers/auxdisplay/cfag12864bfb.c: remove superfluous header files from cfag12864bfb.c Mianhan Liu
2021-10-21 22:09 ` Miguel Ojeda

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).