OSDN Git Service

block: fix kerneldoc comment for blk_attempt_plug_merge()
authorJonathan Corbet <corbet@lwn.net>
Wed, 9 Jan 2019 20:59:32 +0000 (13:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Jan 2019 22:29:08 +0000 (15:29 -0700)
Commit 5f0ed774ed29 ("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>
block/blk-core.c

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