diff mbox

Remove extra include in HVC console tty framework

Message ID 1485817043-7195-1-git-send-email-vlvrdv@gmail.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Sergio Valverde Jan. 30, 2017, 10:57 p.m. UTC
From: Sergio Valverde <vlvrdv@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@gmail.com>
---
 drivers/tty/hvc/hvc_console.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Greg Kroah-Hartman Jan. 31, 2017, 5:23 a.m. UTC | #1
On Mon, Jan 30, 2017 at 04:57:23PM -0600, Sergio Valverde wrote:
> From: Sergio Valverde <vlvrdv@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.

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
diff mbox

Patch

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>