Skip to content
Commit e2fcd6e4 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Vinod Koul
Browse files

dma: idxd: 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 avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20201224132254.30961-1-zhengyongjun3@huawei.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 33cb6d1e
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