diff options
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) | |||
239 | } | 239 | } |
240 | EXPORT_SYMBOL(blk_queue_max_sectors); | 240 | EXPORT_SYMBOL(blk_queue_max_sectors); |
241 | 241 | ||
242 | void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_sectors) | ||
243 | { | ||
244 | if (BLK_DEF_MAX_SECTORS > max_sectors) | ||
245 | q->limits.max_hw_sectors = BLK_DEF_MAX_SECTORS; | ||
246 | else | ||
247 | q->limits.max_hw_sectors = max_sectors; | ||
248 | } | ||
249 | EXPORT_SYMBOL(blk_queue_max_hw_sectors); | ||
250 | |||
251 | /** | 242 | /** |
252 | * blk_queue_max_discard_sectors - set max sectors for a single discard | 243 | * blk_queue_max_discard_sectors - set max sectors for a single discard |
253 | * @q: the request queue for the device | 244 | * @q: the request queue for the device |