lkml.org 
[lkml]   [2003]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.030 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site