]> www.infradead.org Git - nvme.git/commit
blktrace: remove redundant return at end of function
authorColin Ian King <colin.i.king@gmail.com>
Wed, 4 Dec 2024 15:04:50 +0000 (15:04 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Dec 2024 15:17:23 +0000 (08:17 -0700)
commitccb9868ab7f4b253440b8723a3487b8b9a16d371
tree9120a40bf29dd4c0e1a25b9b458849a088caf553
parent19206d3f5ef7f051056d2fb49203a347e4844e6e
blktrace: remove redundant return at end of function

A recent change added return 0 before an existing return statement
at the end of function blk_trace_setup. The final return is now
redundant, so remove it.

Fixes: 64d124798244 ("blktrace: move copy_[to|from]_user() out of ->debugfs_lock")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20241204150450.399005-1-colin.i.king@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c