Skip to content
Commit 63655b62 authored by Tang Yizhou's avatar Tang Yizhou Committed by Herbert Xu
Browse files

crypto: ccp - Use DEFINE_SPINLOCK() for spinlock



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

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarTang Yizhou <tangyizhou@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent fd4317b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment