linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TRIVIAL PATCH] Kill blk_congestion_wait() stub for !CONFIG_BLOCK
@ 2007-06-18 19:42 Benjamin Gilbert
  2007-06-18 19:46 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Gilbert @ 2007-06-18 19:42 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel, bgilbert

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>
---

 include/linux/blkdev.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index db5b00a..fae138b 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -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;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [TRIVIAL PATCH] Kill blk_congestion_wait() stub for !CONFIG_BLOCK
  2007-06-18 19:42 [TRIVIAL PATCH] Kill blk_congestion_wait() stub for !CONFIG_BLOCK Benjamin Gilbert
@ 2007-06-18 19:46 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2007-06-18 19:46 UTC (permalink / raw)
  To: Benjamin Gilbert; +Cc: linux-kernel

On Mon, Jun 18 2007, Benjamin Gilbert wrote:
> 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>

Thanks, applied.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-18 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-18 19:42 [TRIVIAL PATCH] Kill blk_congestion_wait() stub for !CONFIG_BLOCK Benjamin Gilbert
2007-06-18 19:46 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).