block: remove superfluous param in blk_fill_rwbs()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 22 Feb 2021 05:29:55 +0000 (21:29 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Feb 2021 13:37:41 +0000 (06:37 -0700)
commit179d1600723670dc0d6ae8ce572e0e2c44b64763
treef6bfa0de6b531420e1b5d86a142a62acbbce6153
parent9fb407179c6fd910005040bebb040094ef959b6c
block: remove superfluous param in blk_fill_rwbs()

The last parameter for the function blk_fill_rwbs() was added in
5782138e47 ("tracing/events: convert block trace points to
TRACE_EVENT()") in order to signal read request and use of that parameter
was replaced with using switch case REQ_OP_READ with
1b9a9ab78b0 ("blktrace: use op accessors"), but the parameter was never
removed.

Remove the unused parameter and adjust the respective call sites.

Fixes: 1b9a9ab78b0 ("blktrace: use op accessors")
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blktrace_api.h
include/trace/events/bcache.h
include/trace/events/block.h
kernel/trace/blktrace.c