All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaun Zinck <shaun.zinck@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH] video/geode: fix warnings
Date: Tue, 21 Aug 2007 04:03:20 +0000	[thread overview]
Message-ID: <20070820230320.6741bb15@shaun> (raw)

Remove the double declaration of variable 'opt'.

Signed-off-by: Shaun Zinck <shaun.zinck@gmail.com>
---
This is my first patch so I mostly wanted to make sure I got the formatting right.
Does this look OK?

diff --git a/drivers/video/geode/lxfb_core.c b/drivers/video/geode/lxfb_core.c
index 5e30b40..67d6bf6 100644
--- a/drivers/video/geode/lxfb_core.c
+++ b/drivers/video/geode/lxfb_core.c
@@ -559,12 +559,10 @@ static struct pci_driver lxfb_driver = {
 };
 
 #ifndef MODULE
 static int __init lxfb_setup(char *options)
 {
-	char *opt;
-
 	if (!options || !*options)
 		return 0;
 
 	while (1) {
 		char *opt = strsep(&options, ",");

             reply	other threads:[~2007-08-21  4:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21  4:03 Shaun Zinck [this message]
2007-08-21  5:35 ` [PATCH] video/geode: fix warnings Eugene Teo
2007-08-21  5:52 ` Eugene Teo

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=20070820230320.6741bb15@shaun \
    --to=shaun.zinck@gmail.com \
    --cc=kernel-janitors@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.