summaryrefslogtreecommitdiff
path: root/drivers/block/cpqarray.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-07-14 11:24:14 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-15 08:53:53 +0400
commitcccedb1a4af9e96781f206acad638c05364e73ca (patch)
tree900c1262877291f2d7c8d8ec3963ee05ea668966 /drivers/block/cpqarray.c
parent60198f9992db1e36d5b4cc1526ff29550f7d002c (diff)
downloadlinux-cccedb1a4af9e96781f206acad638c05364e73ca.tar.xz
[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);
/*