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

Bob Miller (rem@osdl.org)
Wed, 11 Dec 2002 14:30:43 -0800


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/