Skip to contentSkip to conversation

Remove compile warning from drivers/ide/pci/sc1200.c

PATCH New Bob Miller 1 participant 1 message Dec 11, 2002

lore
Share & tools
lore

Bob Miller

author
#0 lore raw

PATCH 1/1 Remove compile warning from drivers/ide/pci/sc1200.c

Deleted an unused stack variable from sc1200_suspend.

drivers/ide/pci/sc1200.c +0 -2
diff -Nru a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c
@@ -427,8 +427,6 @@
 
 static int sc1200_suspend (struct pci_dev *dev, u32 state)
 {
-	ide_hwif_t	*hwif = NULL;
-
 	printk("SC1200: suspend(%u)\n", state);
 	/* You don't need to iterate over disks -- sysfs should have done that for you already */ 
 
Signature · 2 lines
Bob Miller					Email: [email protected]
Open Source Development Lab			Phone: 503.626.2455 Ext. 17