Skip to content
Snippets Groups Projects
user avatar
Shixin Liu authored
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>
77053fb7
History
Name Last commit Last update