From: Shahar Havivi <shaharh@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Remove unused variables
Date: Wed, 20 Jan 2010 13:59:08 +0200 [thread overview]
Message-ID: <b0ae6fcc1001200359y8779182j76f92b50924b340b@mail.gmail.com> (raw)
Remove unused fields in drivers/char/vt.c
variables orig_buf and orig_count are assigned but never used.
Shahar Havivi
---
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
next reply other threads:[~2010-01-20 11:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 11:59 Shahar Havivi [this message]
2010-01-26 22:43 ` Jiri Kosina
2010-01-27 8:49 ` Shahar Havivi
2010-01-27 9:15 ` Jiri Kosina
2020-09-04 0:34 Anant Thazhemadam
2020-09-04 0:59 ` Anant Thazhemadam
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=b0ae6fcc1001200359y8779182j76f92b50924b340b@mail.gmail.com \
--to=shaharh@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®