diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-09-07 03:03:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-07 03:03:31 -0700 |
| commit | 4e49388694356ae25d69772092ade844fac54e61 (patch) | |
| tree | b2d68e8210ed7571c8b7204964e1c5782e032031 /drivers/block/cpqarray.c | |
| parent | b315226781b180732abb0aa4ead6322b8c7827c6 (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/block/cpqarray.c')
| -rw-r--r-- | drivers/block/cpqarray.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c index aba33e13c9a6..396a114b4e24 100644 --- a/drivers/block/cpqarray.c +++ b/drivers/block/cpqarray.c @@ -451,7 +451,6 @@ int __init cpqarray_init(void) disk->first_minor = j<<NWD_SHIFT; disk->minor_shift = NWD_SHIFT; disk->part = ida + i*256 + (j<<NWD_SHIFT); - disk->nr_real = 1; disk->de_arr = &de_arr[i][j]; disk->fops = &ida_fops; if (!drv->nr_blks) |
