lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 29 Sep 2021 03:06:44 +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//ks0108.c: remove superfluous header files from ks0108.c

ks0108.c hasn't use any macro or function declared in linux/fs.h,
linux/io.h and linux/uaccess.h.
Thus, these files can be removed from ks0108.c safely without
affecting the compilation of the drivers/auxdisplay/ module

Signed-off-by: Mianhan Liu <liumh1@...nghaitech.edu.cn>

---
 drivers/auxdisplay/ks0108.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/auxdisplay/ks0108.c b/drivers/auxdisplay/ks0108.c
index e871b94a1..234f9dbe6 100644
--- a/drivers/auxdisplay/ks0108.c
+++ b/drivers/auxdisplay/ks0108.c
@@ -15,10 +15,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
-#include <linux/fs.h>
-#include <linux/io.h>
 #include <linux/parport.h>
-#include <linux/uaccess.h>
 #include <linux/ks0108.h>
 
 #define KS0108_NAME "ks0108"
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ