]> www.infradead.org Git - users/hch/misc.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, 16 Dec 2024 13:58:30 +0000 (06:58 -0700)
commit7a66a1a7eb7e911045ee8a22a4ad96b690659eb1
tree3ce3d93f184a986d9d1010a6678c940b1ef15311
parentac3f91005dae5e6e734095273cef463cbe559320
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