(ide_driver_t *) drive->driver is called in the sprintf instead of
ide_driver_t *driver, so the var is not necessary.
--- linux-2.4.20/drivers/ide/ide-proc.c~ 2003-03-12 16:13:36.000000000 +0100
+++ linux-2.4.20/drivers/ide/ide-proc.c 2003-03-12 16:39:08.000000000 +0100
@@ -623,7 +623,6 @@
(char *page, char **start, off_t off, int count, int *eof, void *data)
{
ide_drive_t *drive = (ide_drive_t *) data;
- ide_driver_t *driver = (ide_driver_t *) drive->driver;
int len;
len = sprintf(page,"%llu\n",
-
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/