[TRIVIAL PATCH 2.5.51] Remove compile warning from drivers/ide/pci/sc1200.c

From: Bob Miller (rem@osdl.org)
Date: Wed Dec 11 2002 - 17:30:43 EST


Deleted an unused stack variable from sc1200_suspend.

diff -Nru a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c
--- a/drivers/ide/pci/sc1200.c Wed Dec 11 13:41:51 2002
+++ b/drivers/ide/pci/sc1200.c Wed Dec 11 13:41:51 2002
@@ -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 */
 

-- 
Bob Miller					Email: rem@osdl.org
Open Source Development Lab			Phone: 503.626.2455 Ext. 17
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:23 EST