提交 7deeed13 编写于 作者: B Benjamin Gilbert 提交者: Jens Axboe

[TRIVIAL PATCH] 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.
Signed-off-by: NBenjamin Gilbert <bgilbert@cs.cmu.edu>
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 71780f59
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册