diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2007-07-23 09:33:26 +0900 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-23 16:49:44 -0500 |
commit | 598443a2124618fc8fe5a8bae32c129666ac3eab (patch) | |
tree | a86e9a21e3ef69b926c04bb60d2c0823662f5685 /include/linux | |
parent | 4b39c1d98327b0a572392cdb0ee22db1de0e7cb9 (diff) | |
download | kernel_samsung_smdk4412-598443a2124618fc8fe5a8bae32c129666ac3eab.zip kernel_samsung_smdk4412-598443a2124618fc8fe5a8bae32c129666ac3eab.tar.gz kernel_samsung_smdk4412-598443a2124618fc8fe5a8bae32c129666ac3eab.tar.bz2 |
[SCSI] bsg: use lib/idr.c to find a unique minor number
This replaces the current linear search for a unique minor number with
lib/idr.c.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/bsg.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h index f415f89..241eed0 100644 --- a/include/linux/bsg.h +++ b/include/linux/bsg.h @@ -53,7 +53,6 @@ struct bsg_class_device { struct class_device *class_dev; struct device *dev; int minor; - struct list_head list; struct request_queue *queue; }; |