summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-01-06 01:09:28 -0600
committerPatrick Mochel <mochel@osdl.org>2003-01-06 01:09:28 -0600
commit426f67ebf9dab281a43bb5ff07c23713e7eefe95 (patch)
treebd0dca8628e45f810862f494a85e74684e57f607 /include
parent93e8f3304b580ba692918c8f0b889f47d480f337 (diff)
block devices: use list and lock in block_subsys, instead of those defined in genhd.c.
Since block_subsys already contains a list and a lock, use those, instead of defining our own static ones. This allows struct gendisk::full_list to be removed. struct gendisk::list is also apparently unused, so it is removed also.
Diffstat (limited to 'include')
-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 548e477daa4b..6cdf3f364b2e 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -85,8 +85,6 @@ struct gendisk {
struct request_queue *queue;
void *private_data;
sector_t capacity;
- struct list_head list;
- struct list_head full_list;
int flags;
int number; /* devfs crap */