All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard A. Holden III" <aciddeath@gmail.com>
To: linux-next@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Remove unused variables from the cirrusfb driver
Date: Thu, 20 Nov 2008 11:03:22 -0700	[thread overview]
Message-ID: <1227204203-32112-2-git-send-email-aciddeath@gmail.com> (raw)
In-Reply-To: <1227204203-32112-1-git-send-email-aciddeath@gmail.com>

Remove i and s vars from cirrusfb_setup as they are not used
anywhere in that function. This fixes 2 unused vars build warnings.

Signed-off-by: Richard A. Holden III <aciddeath@gmail.com>
---
 drivers/video/cirrusfb.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 8a87602..a2aa6dd 100644
--- a/drivers/video/cirrusfb.c
+++ b/drivers/video/cirrusfb.c
@@ -2462,8 +2462,7 @@ static int __init cirrusfb_init(void)
 
 #ifndef MODULE
 static int __init cirrusfb_setup(char *options) {
-	char *this_opt, s[32];
-	int i;
+	char *this_opt;
 
 	DPRINTK("ENTER\n");
 
-- 
1.5.6.4

  reply	other threads:[~2008-11-20 17:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 18:03 [PATCH] Fix arch/x86/kernel/cpu/mtrr/main.c build warning Richard A. Holden III
2008-11-20 18:03 ` Richard A. Holden III [this message]
2008-11-20 18:03   ` [PATCH] Remove unused variable from tlv320aic23 codec Richard A. Holden III
2008-11-20 18:56     ` Mark Brown
2008-11-20 18:56       ` Mark Brown
2008-11-24 13:24     ` [alsa-devel] " Takashi Iwai
2008-11-20 23:34   ` [PATCH] Remove unused variables from the cirrusfb driver Stephen Rothwell
2008-11-21  6:12     ` Richard Holden
2008-11-21  6:40       ` Stephen Rothwell

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=1227204203-32112-2-git-send-email-aciddeath@gmail.com \
    --to=aciddeath@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@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.