Messages in this thread Patch in this message | | | Date | Wed, 12 Mar 2003 16:47:13 +0100 (CET) | From | Maciej Soltysiak <> | Subject | [PATCH][TRIVIAL] Linux 2.4.21pre5-ac3 - remove unused var in ide-proc.c |
| |
> Linux 2.4.21pre5-ac3
(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/
| |