* [PATCH linux-next] ARM:sa1100/hackkit:Remove duplicated 'linux/tty.h' include in 'hackkit.c'
@ 2021-08-05 2:30 ` cgel.zte
0 siblings, 0 replies; 2+ messages in thread
From: cgel.zte @ 2021-08-05 2:30 UTC (permalink / raw)
To: linux, yong.yiran; +Cc: linux-arm-kernel, linux-kernel, Zeal Robot
From: yong yiran <yong.yiran@zte.com.cn>
'linux/tty.h' included in 'hackkit.c' is duplicated.
Remove all but the first include of linux/tty.h from hackkit.c.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: yong yiran <yong.yiran@zte.com.cn>
---
arch/arm/mach-sa1100/hackkit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c
index 3085f1c2e586..3fe34ee7c0ab 100644
--- a/arch/arm/mach-sa1100/hackkit.c
+++ b/arch/arm/mach-sa1100/hackkit.c
@@ -18,7 +18,6 @@
#include <linux/serial_core.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
-#include <linux/tty.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/platform_device.h>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH linux-next] ARM:sa1100/hackkit:Remove duplicated 'linux/tty.h' include in 'hackkit.c'
@ 2021-08-05 2:30 ` cgel.zte
0 siblings, 0 replies; 2+ messages in thread
From: cgel.zte @ 2021-08-05 2:30 UTC (permalink / raw)
To: linux, yong.yiran; +Cc: linux-arm-kernel, linux-kernel, Zeal Robot
From: yong yiran <yong.yiran@zte.com.cn>
'linux/tty.h' included in 'hackkit.c' is duplicated.
Remove all but the first include of linux/tty.h from hackkit.c.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: yong yiran <yong.yiran@zte.com.cn>
---
arch/arm/mach-sa1100/hackkit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c
index 3085f1c2e586..3fe34ee7c0ab 100644
--- a/arch/arm/mach-sa1100/hackkit.c
+++ b/arch/arm/mach-sa1100/hackkit.c
@@ -18,7 +18,6 @@
#include <linux/serial_core.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
-#include <linux/tty.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/platform_device.h>
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-05 2:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 2:30 [PATCH linux-next] ARM:sa1100/hackkit:Remove duplicated 'linux/tty.h' include in 'hackkit.c' cgel.zte
2021-08-05 2:30 ` cgel.zte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.