public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vt.c remove unused variables
@ 2010-03-06  9:29 Shahar Havivi
  2010-03-15 15:21 ` Shahar Havivi
  0 siblings, 1 reply; 2+ messages in thread
From: Shahar Havivi @ 2010-03-06  9:29 UTC (permalink / raw)
  To: linux-kernel

console write declare orig_buf and orig_count but never use them.

Signed-off-by: Shahar Havivi <shaharh@redhat.com>
---
 drivers/char/vt.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 50faa1f..94f530a 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -2119,8 +2119,6 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int co
 	uint8_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 co
 	    release_console_sem();
 	    return 0;
 	}
-	orig_buf = buf;
-	orig_count = count;
 
 	himask = vc->vc_hi_font_mask;
 	charmask = himask ? 0x1ff : 0xff;
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-15 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06  9:29 [PATCH] vt.c remove unused variables Shahar Havivi
2010-03-15 15:21 ` Shahar Havivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox