]> www.infradead.org Git - users/jedix/linux-maple.git/commit
aoe: remove unnecessary mutex_init()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 11 May 2021 11:34:40 +0000 (19:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 May 2021 12:47:21 +0000 (06:47 -0600)
commit65a8db393a8e49ee98432cf3e641d2bd2fa88606
tree0a33f9f968f89d3b0a0e31b18043c97102504734
parent51fd43e2801054b1321b1d81b91dc37efdff5127
aoe: remove unnecessary mutex_init()

The mutex ktio_spawn_lock is initialized statically.
It is unnecessary to initialize by mutex_init().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210511113440.3772053-1-yangyingliang@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoecmd.c