vt.c remove unused variables
PATCH 1/1 vt.c remove unused variables
console write declare orig_buf and orig_count but never use them.
Signed-off-by Shahar Havivi <[email protected]>
--- drivers/char/vt.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
drivers/char/vt.c +0 -4
@@ -2119,8 +2119,6 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int couint8_t inverse;uint8_t width;u16 himask, charmask; -const unsigned char *orig_buf =NULL ; -int orig_count;if (in_interrupt ())return count;
@@ -2142,8 +2140,6 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int corelease_console_sem ();return 0 ; } - orig_buf = buf; - orig_count = count; himask = vc->vc_hi_font_mask; charmask = himask ?0x1ff :0xff ;
Signature · 1 line
1.6.3.3
Quoted 4 lines · Shahar Havivi
Date: Sat, 6 Mar 2010 11:28:59 +0200
From: Shahar Havivi <[email protected]>
To: [email protected]
Subject: [PATCH]vt.cremove unused variables
Ignore this patch, already merged
Quoted 33 lines
console write declare
orig_bufandorig_countbut never use them.Signed-off-by Shahar Havivi <[email protected]>--- drivers/char/vt.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)drivers/char/vt.c +0
-4@@ -2119,8 +2119,6 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int couint8_t inverse;uint8_t width;u16 himask, charmask; -const unsigned char *orig_buf =NULL ; -int orig_count;if (in_interrupt ())return count;@@ -2142,8 +2140,6 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int corelease_console_sem ();return 0 ; } - orig_buf = buf; - orig_count = count; himask = vc->vc_hi_font_mask; charmask = himask ?0x1ff :0xff ;Signature · 1 line
1.6.3.3