]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: gpib: tnt4882: Remove redundant header files
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Tue, 19 Aug 2025 13:11:54 +0000 (21:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:54:23 +0000 (15:54 +0200)
The header file <linux/ioport.h> is already included on line 12, outside of
the #ifdef CONFIG_GPIB_PCMCIA block. It does not need to be included again
inside the #ifdef CONFIG_GPIB_PCMCIA block.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://lore.kernel.org/r/20250819131203.152724-1-liaoyuanhong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/tnt4882/tnt4882_gpib.c

index 29c6884e01fd95151ec5c6461fbc4d3bbafb6b30..c03a976b738009efb1e23d06a07513ee79022f31 100644 (file)
@@ -1522,7 +1522,6 @@ static void __exit tnt4882_exit_module(void)
 #include <linux/moduleparam.h>
 #include <linux/ptrace.h>
 #include <linux/timer.h>
-#include <linux/ioport.h>
 #include <linux/io.h>
 
 #include <pcmcia/cistpl.h>