Skip to content

Commit

Permalink
[TRIVIAL PATCH] Kill blk_congestion_wait() stub for !CONFIG_BLOCK
Browse files Browse the repository at this point in the history
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: Benjamin Gilbert <bgilbert@cs.cmu.edu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Benjamin Gilbert authored and Jens Axboe committed Jul 10, 2007
1 parent 71780f5 commit 7deeed1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7deeed1

Please sign in to comment.