Skip to content

Commit

Permalink
block: drop removed argument from kernel-doc of blk_execute_rq()
Browse files Browse the repository at this point in the history
Commit 684da76 ("block: remove unnecessary argument from
blk_execute_rq") changes the signature of blk_execute_rq(), but misses
to adjust its kernel-doc.

Hence, make htmldocs warns on ./block/blk-exec.c:78:

  warning: Excess function parameter 'q' description in 'blk_execute_rq'

Drop removed argument from kernel-doc of blk_execute_rq() as well.

Signed-off-by: Lukas Bulwahn <[email protected]>
Acked-by: Guoqing Jiang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
bulwahn authored and axboe committed Jan 29, 2021
1 parent 7f31bee commit f7bf5e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion block/blk-exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ EXPORT_SYMBOL_GPL(blk_execute_rq_nowait);

/**
* blk_execute_rq - insert a request into queue for execution
* @q: queue to insert the request in
* @bd_disk: matching gendisk
* @rq: request to insert
* @at_head: insert request at head or tail of queue
Expand Down

0 comments on commit f7bf5e2

Please sign in to comment.