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
---
drivers/isdn/hardware/mISDN/hfcmulti.c | 7 ++-
drivers/isdn/mI
There's no need to declare a list and then init it manually,
just use the LIST_HEAD() macro.
Signed-off-by: Shixin Liu
---
drivers/isdn/mISDN/dsp_core.c | 7 ++-
drivers/isdn/mISDN/l1oip_core.c | 4 +---
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/isdn/
There's no need to declare a list and then init it manually,
just use the LIST_HEAD() macro.
Signed-off-by: Shixin Liu
---
drivers/isdn/mISDN/dsp_core.c | 7 ++-
drivers/isdn/mISDN/l1oip_core.c | 4 +---
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/isdn/
spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().
Signed-off-by: Shixin Liu
---
drivers/isdn/hardware/mISDN/hfcmulti.c | 7 ++-
drivers/isdn/mISDN/dsp_core.c | 3 +--
drivers/isdn/mISDN/l1oip_core.c| 3 +--
3