Message ID | 20200228150518.10496-7-guoqing.jiang@cloud.ionos.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Some cleanups for blk-core.c and blk-flush.c | expand |
On 28.02.20 г. 17:05 ч., Guoqing Jiang wrote: > Remove the comment about return value, since it is not valid after > commit 404b8f5a03d84 ("block: cleanup kick/queued handling"). > > Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Obviously correct, given the function is void. Reviewed-by: Nikolay Borisov <nborisov@suse.com>
On 2020-02-28 07:05, Guoqing Jiang wrote: > Remove the comment about return value, since it is not valid after > commit 404b8f5a03d84 ("block: cleanup kick/queued handling"). Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Looks good to me. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> On 02/28/2020 07:06 AM, Guoqing Jiang wrote: > Remove the comment about return value, since it is not valid after > commit 404b8f5a03d84 ("block: cleanup kick/queued handling"). > > Signed-off-by: Guoqing Jiang<guoqing.jiang@cloud.ionos.com>
diff --git a/block/blk-flush.c b/block/blk-flush.c index 963ae56d5aae..46fd6e83dd79 100644 --- a/block/blk-flush.c +++ b/block/blk-flush.c @@ -160,9 +160,6 @@ static void blk_account_io_flush(struct request *rq) * * CONTEXT: * spin_lock_irq(fq->mq_flush_lock) - * - * RETURNS: - * %true if requests were added to the dispatch queue, %false otherwise. */ static void blk_flush_complete_seq(struct request *rq, struct blk_flush_queue *fq,
Remove the comment about return value, since it is not valid after commit 404b8f5a03d84 ("block: cleanup kick/queued handling"). Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> --- block/blk-flush.c | 3 --- 1 file changed, 3 deletions(-)