Skip to content
Commit 52f6b0a9 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Michael Ellerman
Browse files

ocxl: use DEFINE_MUTEX() for mutex lock



mutex lock can be initialized automatically with DEFINE_MUTEX()
rather than explicitly calling mutex_init().

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Acked-by: default avatarFrederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201224132446.31286-1-zhengyongjun3@huawei.com
parent 3db38057
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment