]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - block/blk.h
Merge branch 'for-4.3/blkcg' of git://git.kernel.dk/linux-block
[karo-tx-linux.git] / block / blk.h
index 838188b35a83f03696fba66cbb71728e402403bd..98614ad37c81f22e175d9455967f9f6a98b78676 100644 (file)
@@ -272,15 +272,10 @@ static inline struct io_context *create_io_context(gfp_t gfp_mask, int node)
  * Internal throttling interface
  */
 #ifdef CONFIG_BLK_DEV_THROTTLING
-extern bool blk_throtl_bio(struct request_queue *q, struct bio *bio);
 extern void blk_throtl_drain(struct request_queue *q);
 extern int blk_throtl_init(struct request_queue *q);
 extern void blk_throtl_exit(struct request_queue *q);
 #else /* CONFIG_BLK_DEV_THROTTLING */
-static inline bool blk_throtl_bio(struct request_queue *q, struct bio *bio)
-{
-       return false;
-}
 static inline void blk_throtl_drain(struct request_queue *q) { }
 static inline int blk_throtl_init(struct request_queue *q) { return 0; }
 static inline void blk_throtl_exit(struct request_queue *q) { }