lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vt.c remove unused variables
On Sat, Mar 06, 2010 at 11:28:59AM +0200, Shahar Havivi wrote:
> Date: Sat, 6 Mar 2010 11:28:59 +0200
> From: Shahar Havivi <shaharh@redhat.com>
> To: linux-kernel@vger.kernel.org
> Subject: [PATCH] vt.c remove unused variables
Ignore this patch, already merged
>
> 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
>


\
 
 \ /
  Last update: 2010-03-15 16:23    [W:0.043 / U:21.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site