summaryrefslogtreecommitdiffstats
path: root/drivers/block/cpqarray.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-14 09:24:14 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-15 06:53:53 +0200
commitcccedb1a4af9e96781f206acad638c05364e73ca (patch)
tree900c1262877291f2d7c8d8ec3963ee05ea668966 /drivers/block/cpqarray.c
parent[PATCH] Add try_to_freeze() to rt-test kthreads (diff)
downloadlinux-cccedb1a4af9e96781f206acad638c05364e73ca.tar.xz
linux-cccedb1a4af9e96781f206acad638c05364e73ca.zip
[PATCH] drivers/block/cpqarray.c: remove an unused variable
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>
Diffstat (limited to 'drivers/block/cpqarray.c')
-rw-r--r--drivers/block/cpqarray.c2
1 files changed, 0 insertions, 2 deletions
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);
/*