Skip to contentSkip to conversation

video/geode: fix warnings

PATCH In review Shaun Zinck 2 participants 3 messages Aug 21, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video/geode: fix warnings

Remove the double declaration of variable 'opt'.

---
This is my first patch so I mostly wanted to make sure I got the formatting right. Does this look OK?

drivers/video/geode/lxfb_core.c +0 -2
index 5e30b40..67d6bf6 100644
@@ -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, ",");