summaryrefslogtreecommitdiff
path: root/include/linux
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 /include/linux
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 'include/linux')
-rw-r--r--include/linux/genhd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index fd9f5a8d7c06..304ebe48ec24 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -76,8 +76,6 @@ struct gendisk {
get real minor */
struct hd_struct *part; /* [indexed by minor] */
- int nr_real; /* number of real devices */
-
struct gendisk *next;
struct block_device_operations *fops;