aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk.h')
-rw-r--r--block/blk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk.h b/block/blk.h
index 7422f3133c5d..de15f920b38f 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -236,7 +236,6 @@ extern bool blk_throtl_bio(struct request_queue *q, struct bio *bio);
236extern void blk_throtl_drain(struct request_queue *q); 236extern void blk_throtl_drain(struct request_queue *q);
237extern int blk_throtl_init(struct request_queue *q); 237extern int blk_throtl_init(struct request_queue *q);
238extern void blk_throtl_exit(struct request_queue *q); 238extern void blk_throtl_exit(struct request_queue *q);
239extern void blk_throtl_release(struct request_queue *q);
240#else /* CONFIG_BLK_DEV_THROTTLING */ 239#else /* CONFIG_BLK_DEV_THROTTLING */
241static inline bool blk_throtl_bio(struct request_queue *q, struct bio *bio) 240static inline bool blk_throtl_bio(struct request_queue *q, struct bio *bio)
242{ 241{
@@ -245,7 +244,6 @@ static inline bool blk_throtl_bio(struct request_queue *q, struct bio *bio)
245static inline void blk_throtl_drain(struct request_queue *q) { } 244static inline void blk_throtl_drain(struct request_queue *q) { }
246static inline int blk_throtl_init(struct request_queue *q) { return 0; } 245static inline int blk_throtl_init(struct request_queue *q) { return 0; }
247static inline void blk_throtl_exit(struct request_queue *q) { } 246static inline void blk_throtl_exit(struct request_queue *q) { }
248static inline void blk_throtl_release(struct request_queue *q) { }
249#endif /* CONFIG_BLK_DEV_THROTTLING */ 247#endif /* CONFIG_BLK_DEV_THROTTLING */
250 248
251#endif /* BLK_INTERNAL_H */ 249#endif /* BLK_INTERNAL_H */