diff options
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
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); | |||
236 | extern void blk_throtl_drain(struct request_queue *q); | 236 | extern void blk_throtl_drain(struct request_queue *q); |
237 | extern int blk_throtl_init(struct request_queue *q); | 237 | extern int blk_throtl_init(struct request_queue *q); |
238 | extern void blk_throtl_exit(struct request_queue *q); | 238 | extern void blk_throtl_exit(struct request_queue *q); |
239 | extern void blk_throtl_release(struct request_queue *q); | ||
240 | #else /* CONFIG_BLK_DEV_THROTTLING */ | 239 | #else /* CONFIG_BLK_DEV_THROTTLING */ |
241 | static inline bool blk_throtl_bio(struct request_queue *q, struct bio *bio) | 240 | static 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) | |||
245 | static inline void blk_throtl_drain(struct request_queue *q) { } | 244 | static inline void blk_throtl_drain(struct request_queue *q) { } |
246 | static inline int blk_throtl_init(struct request_queue *q) { return 0; } | 245 | static inline int blk_throtl_init(struct request_queue *q) { return 0; } |
247 | static inline void blk_throtl_exit(struct request_queue *q) { } | 246 | static inline void blk_throtl_exit(struct request_queue *q) { } |
248 | static 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 */ |