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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cccedb1a4af9e96781f206acad638c05364e73ca;p=openwrt%2Fstaging%2Fblogic.git [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 757f42dd8e86..78082edc14b4 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); /*