Skip to content

Commit

Permalink
vt: remove unused variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shahar Havivi authored and Jiri Kosina committed Feb 5, 2010
1 parent 7dd607e commit d9a5f04
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/char/vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit d9a5f04

Please sign in to comment.