From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752530Ab0CFJ3I (ORCPT ); Sat, 6 Mar 2010 04:29:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53545 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812Ab0CFJ3G (ORCPT ); Sat, 6 Mar 2010 04:29:06 -0500 Date: Sat, 6 Mar 2010 11:29:00 +0200 From: Shahar Havivi To: linux-kernel@vger.kernel.org Subject: [PATCH] vt.c remove unused variables Message-ID: <20100306092856.GA4108@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org console write declare orig_buf and orig_count but never use them. Signed-off-by: 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