Skip to contentSkip to conversation

Remove extra include in HVC console tty framework

PATCH In review Sergio Valverde 2 participants 2 messages Jan 30, 2017 – Jan 31, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove extra include in HVC console tty framework

From: Sergio Valverde <[email protected]>

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.

---
 drivers/tty/hvc/hvc_console.c | 1 -
 1 file changed, 1 deletion(-)
drivers/tty/hvc/hvc_console.c +0 -1
index 9b5c0fb..b19ae36 100644
@@ -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>
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Sergio Valverde

From: Sergio Valverde <[email protected]>

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.

It's not a "defect" as it's not wrong. It's just an annoyance. This whole sentence should probably be removed.

thanks,

greg k-h