summaryrefslogtreecommitdiffstats
path: root/drivers/char/vt.c
diff options
context:
space:
mode:
authorShahar Havivi <shaharh@gmail.com>2010-01-27 10:18:28 +0100
committerJiri Kosina <jkosina@suse.cz>2010-02-05 12:22:41 +0100
commitd9a5f04b6a8e0e681ae37fde84016a57ca17371f (patch)
treef587c4d6bdbc9b7c31c723c5f786422606579d35 /drivers/char/vt.c
parent7dd607e82d823e40675b0b87f035ff04dcb0b5c0 (diff)
downloadop-kernel-dev-d9a5f04b6a8e0e681ae37fde84016a57ca17371f.zip
op-kernel-dev-d9a5f04b6a8e0e681ae37fde84016a57ca17371f.tar.gz
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 <shaharh@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/char/vt.c')
-rw-r--r--drivers/char/vt.c4
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;
OpenPOWER on IntegriCloud