diff mbox series

trace/events/block.h: drop kernel-doc for dropped function parameter

Message ID d572a150-192a-bbce-4449-8de45bce1a9b@infradead.org (mailing list archive)
State New, archived
Headers show
Series trace/events/block.h: drop kernel-doc for dropped function parameter | expand

Commit Message

Randy Dunlap June 15, 2020, 7:22 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warning: the parameter was removed, so also remove
the kernel-doc notation for it.

../include/trace/events/block.h:278: warning: Excess function parameter 'error' description in 'trace_block_bio_complete'

Fixes: d24de76af836 ("block: remove the error argument to the block_bio_complete tracepoint")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
---
 include/trace/events/block.h |    1 -
 1 file changed, 1 deletion(-)

Comments

Jens Axboe June 15, 2020, 10:52 p.m. UTC | #1
On 6/15/20 1:22 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warning: the parameter was removed, so also remove
> the kernel-doc notation for it.
> 
> ../include/trace/events/block.h:278: warning: Excess function parameter 'error' description in 'trace_block_bio_complete'

Applied, thanks.
diff mbox series

Patch

--- linux-next-20200615.orig/include/trace/events/block.h
+++ linux-next-20200615/include/trace/events/block.h
@@ -254,7 +254,6 @@  TRACE_EVENT(block_bio_bounce,
  * block_bio_complete - completed all work on the block operation
  * @q: queue holding the block operation
  * @bio: block operation completed
- * @error: io error value
  *
  * This tracepoint indicates there is no further work to do on this
  * block IO operation @bio.