[PATCH] Remove extra include in HVC console tty framework

Sergio Valverde vlvrdv at gmail.com
Tue Jan 31 09:57:23 AEDT 2017


From: Sergio Valverde <vlvrdv at gmail.com>

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 <vlvrdv at gmail.com>
---
 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



More information about the Linuxppc-dev mailing list