Skip to content
Commit 106650f1 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Joerg Roedel
Browse files

iommu/amd: Use DEFINE_SPINLOCK() for spinlock



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

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20201228135112.28621-1-zhengyongjun3@huawei.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent f8993dc6
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