Skip to content
Commit acf8aec3 authored by Shixin Liu's avatar Shixin Liu Committed by Jens Axboe
Browse files

mtip32xx: use DEFINE_SPINLOCK() for spinlock



spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().

Signed-off-by: default avatarShixin Liu <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210329095349.4170870-1-liushixin2@huawei.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0f00b82e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment