summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-29 03:06:44 +0800
committerMiguel Ojeda <ojeda@kernel.org>2021-10-22 00:04:43 +0200
commit2b7ea42e7e29cc6c96f255a5c5289630ca612be0 (patch)
tree21b6456e9d244b34c585c2593eabf6d7556a1357
parent83bb3d512fc256cf3bbfb0aa961bc025a561d31e (diff)
downloadlwn-2b7ea42e7e29cc6c96f255a5c5289630ca612be0.tar.gz
lwn-2b7ea42e7e29cc6c96f255a5c5289630ca612be0.zip
auxdisplay: ks0108: remove superfluous header files
ks0108.c doesn'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. Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn> [reworded] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
-rw-r--r--drivers/auxdisplay/ks0108.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/auxdisplay/ks0108.c b/drivers/auxdisplay/ks0108.c
index e871b94a1911..234f9dbe6e30 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"