linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block: remove useless comments
@ 2021-06-18  3:17 lijiazi
  2021-06-18 16:46 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: lijiazi @ 2021-06-18  3:17 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: lijiazi

Now wbt_wait return void, so remove useless comments.

Signed-off-by: lijiazi <lijiazi@xiaomi.com>
---
 block/blk-wbt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/blk-wbt.c b/block/blk-wbt.c
index 42aed01..b363b05 100644
--- a/block/blk-wbt.c
+++ b/block/blk-wbt.c
@@ -563,7 +563,6 @@ static void wbt_cleanup(struct rq_qos *rqos, struct bio *bio)
 }
 
 /*
- * Returns true if the IO request should be accounted, false if not.
  * May sleep, if we have exceeded the writeback limits. Caller can pass
  * in an irq held spinlock, if it holds one when calling this function.
  * If we do sleep, we'll release and re-grab it.
-- 
2.7.4


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

* Re: [PATCH] block: remove useless comments
  2021-06-18  3:17 [PATCH] block: remove useless comments lijiazi
@ 2021-06-18 16:46 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2021-06-18 16:46 UTC (permalink / raw)
  To: lijiazi, linux-block; +Cc: lijiazi

On 6/17/21 9:17 PM, lijiazi wrote:
> Now wbt_wait return void, so remove useless comments.

Reworded a bit and applied, thanks.

-- 
Jens Axboe


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18  3:17 [PATCH] block: remove useless comments lijiazi
2021-06-18 16: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).