Re: [PATCH -next] scsi: fnic: remove unnecessary spin_lock_init() and INIT_LIST_HEAD()
From: Martin K. Petersen
Date: Tue Apr 13 2021 - 01:49:25 EST
On Tue, 30 Mar 2021 20:59:11 +0800, Yang Yingliang wrote:
> The spinlock and list head of fnic_list is initialized statically.
> It is unnecessary to initialize by spin_lock_init() and INIT_LIST_HEAD().
Applied to 5.13/scsi-queue, thanks!
[1/1] scsi: fnic: remove unnecessary spin_lock_init() and INIT_LIST_HEAD()
https://git.kernel.org/mkp/scsi/c/aa6f2fccd711
--
Martin K. Petersen Oracle Linux Engineering