]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
auxdisplay: ks0108: remove superfluous header files
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Tue, 28 Sep 2021 19:06:44 +0000 (03:06 +0800)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 22:04:43 +0000 (00:04 +0200)
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>
drivers/auxdisplay/ks0108.c

index e871b94a1911a74b78a332437cb9dc3c3e2ee9d5..234f9dbe6e300542dc4cc1b3f1d62bb01fbf9cbd 100644 (file)
 #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"