summaryrefslogtreecommitdiff
path: root/drivers/message
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-09-07 03:03:31 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-07 03:03:31 -0700
commit4e49388694356ae25d69772092ade844fac54e61 (patch)
treeb2d68e8210ed7571c8b7204964e1c5782e032031 /drivers/message
parentb315226781b180732abb0aa4ead6322b8c7827c6 (diff)
[PATCH] (2/25) Removing ->nr_real
Since ->nr_real is always 1 now, we can remove that field completely. Removed the last remnants of switch in disk_name() (it could be killed a long time ago, I just forgot to remove the last two cases when md and i2o got converted). Collapsed several instances of disk->part[minor - disk->first_minor] - in cases when we know that we deal with disk->part[0].
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/i2o/i2o_block.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
index 15228d03a9af..a8cdfb80a95a 100644
--- a/drivers/message/i2o/i2o_block.c
+++ b/drivers/message/i2o/i2o_block.c
@@ -1773,7 +1773,6 @@ int i2o_block_init(void)
disk->minor_shift = 4;
disk->part = i2ob + (i<<4);
disk->fops = &i2ob_fops;
- disk->nr_real = 1;
disk->major_name = i2o_names + i*8;
sprintf(disk->major_name, "i2o/hd%c", 'a' + i);
}