Skip to contentSkip to conversation

Kill blk_congestion_wait() stub for !CONFIG_BLOCK

PATCH Applied Benjamin Gilbert 2 participants 2 messages Jun 18, 2007 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kill blk_congestion_wait() stub for !CONFIG_BLOCK

blk_congestion_wait() doesn't exist anymore, but there's still a stub in blkdev.h for the !CONFIG_BLOCK case. Kill it.

---

 include/linux/blkdev.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
include/linux/blkdev.h +0 -5
index db5b00a..fae138b 100644
@@ -868,11 +868,6 @@ void kblockd_flush_work(struct work_struct *work);
  */
 #define buffer_heads_over_limit 0
 
-static inline long blk_congestion_wait(int rw, long timeout)
-{
-	return io_schedule_timeout(timeout);
-}
-
 static inline long nr_blockdev_pages(void)
 {
 	return 0;
Applied
#1 lore raw
Quoted 4 lines · Benjamin Gilbert

blk_congestion_wait() doesn't exist anymore, but there's still a stub in blkdev.h for the !CONFIG_BLOCK case. Kill it.

Thanks, applied.

Signature · 1 line
Jens Axboe