diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2010-02-26 00:20:36 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-02-26 13:58:07 +0100 |
commit | e751e76a5f7adeee7438e68b0965559ad2864d0d (patch) | |
tree | 06b1863a484203d7a217fa33964ef2d80a2ad712 /block/blk-settings.c | |
parent | 2800aac1114548a9b47b6e0d398117cc01b89685 (diff) | |
download | linux-stable-e751e76a5f7adeee7438e68b0965559ad2864d0d.tar.gz linux-stable-e751e76a5f7adeee7438e68b0965559ad2864d0d.tar.bz2 linux-stable-e751e76a5f7adeee7438e68b0965559ad2864d0d.zip |
block: Remove unused accessor function
blk_queue_max_hw_sectors is no longer called by any subsystem and can be
removed.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r-- | block/blk-settings.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index 605df9b3de8f..4db46f2fcbe5 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -239,15 +239,6 @@ void blk_queue_max_sectors(struct request_queue *q, unsigned int max_hw_sectors) } EXPORT_SYMBOL(blk_queue_max_sectors); -void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_sectors) -{ - if (BLK_DEF_MAX_SECTORS > max_sectors) - q->limits.max_hw_sectors = BLK_DEF_MAX_SECTORS; - else - q->limits.max_hw_sectors = max_sectors; -} -EXPORT_SYMBOL(blk_queue_max_hw_sectors); - /** * blk_queue_max_discard_sectors - set max sectors for a single discard * @q: the request queue for the device |