From: Shahar Havivi <shaharh@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vt.c remove unused variables
Date: Mon, 15 Mar 2010 17:21:16 +0200 [thread overview]
Message-ID: <20100315152115.GA29368@redhat.com> (raw)
In-Reply-To: <20100306092856.GA4108@redhat.com>
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
>
prev parent reply other threads:[~2010-03-15 15:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-06 9:29 [PATCH] vt.c remove unused variables Shahar Havivi
2010-03-15 15:21 ` Shahar Havivi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100315152115.GA29368@redhat.com \
--to=shaharh@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.