Skip to content
Snippets Groups Projects
Commit 77053fb7 authored by Shixin Liu's avatar Shixin Liu Committed by David S. Miller
Browse files

mISDN: Use DEFINE_SPINLOCK() for spinlock


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

Changelog:
From v1:
1. fix the mistake reported by kernel test robot.

Signed-off-by: default avatarShixin Liu <liushixin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 212ee4b5
No related branches found
No related tags found
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