OSDN Git Service

mISDN: Use DEFINE_SPINLOCK() for spinlock
authorShixin Liu <liushixin2@huawei.com>
Tue, 30 Mar 2021 02:24:14 +0000 (10:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Mar 2021 20:34:42 +0000 (13:34 -0700)
commit77053fb7b428099bfdc2ec81a923587a2692d84b
tree6f023219415754cf6c543435a9afdab6f2f2b57d
parent212ee4b52f10aeedc335979c2d81c6ef0c1fce99
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: Shixin Liu <liushixin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcmulti.c
drivers/isdn/mISDN/dsp_core.c
drivers/isdn/mISDN/l1oip_core.c