Thread (2 messages) 2 messages, 2 authors, 2017-01-31

[PATCH] Remove extra include in HVC console tty framework

flat view
STALE3553d

From: Sergio Valverde <hidden>
Date: 2017-01-30 22:57:34
Subsystem: hypervisor virtual console driver, the rest, tty layer and serial drivers · Maintainers: Linus Torvalds, Greg Kroah-Hartman, Jiri Slaby

From: Sergio Valverde <redacted>

An extra "init.h" include is found in the HVC console code.

While the code works as it is right now, it is a defect nevertheless.
As such, the extra line is deleted.

Signed-off-by: Sergio Valverde <redacted>
---
 drivers/tty/hvc/hvc_console.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c
index 9b5c0fb..b19ae36 100644
--- a/drivers/tty/hvc/hvc_console.c
+++ b/drivers/tty/hvc/hvc_console.c
@@ -29,7 +29,6 @@
 #include <linux/kernel.h>
 #include <linux/kthread.h>
 #include <linux/list.h>
-#include <linux/init.h>
 #include <linux/major.h>
 #include <linux/atomic.h>
 #include <linux/sysrq.h>
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help