From: Adrian Bunk Date: Fri, 14 Jul 2006 07:24:14 +0000 (-0700) Subject: [PATCH] drivers/block/cpqarray.c: remove an unused variable X-Git-Tag: v2.6.18-rc2~48 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cccedb1a4af9e96781f206acad638c05364e73ca;p=linux-2.6 [PATCH] drivers/block/cpqarray.c: remove an unused variable Signed-off-by: Adrian Bunk Acked-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index 757f42dd8e..78082edc14 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c @@ -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); /*