Browse Source

block: fix kerneldoc comment for blk_attempt_plug_merge()

Commit 5f0ed774ed ("block: sum requests in the plug structure") removed
the request_count parameter from block_attempt_plug_merge(), but did not
remove the associated kerneldoc comment, introducing this warning to the
docs build:

  ./block/blk-core.c:685: warning: Excess function parameter 'request_count' description in 'blk_attempt_plug_merge'

Remove the obsolete description and make things a little quieter.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Jonathan Corbet 1 month ago
parent
commit
649d496886
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      block/blk-core.c

+ 0
- 1
block/blk-core.c View File

@@ -661,7 +661,6 @@ no_merge:
661 661
  * blk_attempt_plug_merge - try to merge with %current's plugged list
662 662
  * @q: request_queue new bio is being queued at
663 663
  * @bio: new bio being queued
664
- * @request_count: out parameter for number of traversed plugged requests
665 664
  * @same_queue_rq: pointer to &struct request that gets filled in when
666 665
  * another request associated with @q is found on the plug list
667 666
  * (optional, may be %NULL)

Loading…
Cancel
Save