From 426f67ebf9dab281a43bb5ff07c23713e7eefe95 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Mon, 6 Jan 2003 01:09:28 -0600 Subject: 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. --- include/linux/genhd.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3