From: Shahar Havivi Date: Wed, 27 Jan 2010 09:18:28 +0000 (+0100) Subject: vt: remove unused variables X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d9a5f04b6a8e0e681ae37fde84016a57ca17371f;p=openwrt%2Fstaging%2Fblogic.git vt: remove unused variables Remove unused fields in drivers/char/vt.c variables orig_buf and orig_count are assigned but never used. Signed-off-by: Shahar Havivi Signed-off-by: Jiri Kosina --- diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 50faa1fb0f06..94f530a29691 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;