[PATCH] drivers/block/cpqarray.c: remove an unused variable
authorAdrian Bunk <bunk@stusta.de>
Fri, 14 Jul 2006 07:24:14 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Jul 2006 04:53:53 +0000 (21:53 -0700)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cpqarray.c

index 757f42dd8e86683bf4afdbc9312f37a9237dbff8..78082edc14b4f6fdaec8652f12b45e3a921c3223 100644 (file)
@@ -1739,8 +1739,6 @@ static void getgeometry(int ctlr)
             (log_index < id_ctlr_buf->nr_drvs)
             && (log_unit < NWD);
             log_unit++) {
-               struct gendisk *disk = ida_gendisk[ctlr][log_unit];
-
                size = sizeof(sense_log_drv_stat_t);
 
                /*