scsi: dpt_i2o: Drop redundant spinlock initialization
authorHaowen Bai <baihaowen@meizu.com>
Tue, 10 May 2022 09:47:03 +0000 (17:47 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 May 2022 00:16:27 +0000 (20:16 -0400)
commit91fdd0788878862581128c86025c8a6262aeb868
treeff9e9eb583930cf35f97a0d626529bc35506a241
parentfc65df48c88ea0b7d4bcbccdc59ffeedc64222c2
scsi: dpt_i2o: Drop redundant spinlock initialization

adpt_post_wait_lock was declared and initialized by DEFINE_SPINLOCK so we
don't need to call spin_lock_init(). Drop the call.

Link: https://lore.kernel.org/r/1652176024-3981-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/dpt_i2o.c