summaryrefslogtreecommitdiff
path: root/drivers/scsi/fnic/vnic_stats.h
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-03-30 20:59:11 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-05 23:36:49 -0400
commitaa6f2fccd7119c5579f9705c4f52f2eefa5e37d5 (patch)
tree784c7e1f209c6e25f32733d9cc17a0e376fd180d /drivers/scsi/fnic/vnic_stats.h
parent4dec8004de296952b4afc66b47f50cbf4f8421a9 (diff)
scsi: fnic: Remove unnecessary spin_lock_init() and INIT_LIST_HEAD()
The spinlock and list head of fnic_list are initialized statically. It is unnecessary to initialize them. Link: https://lore.kernel.org/r/20210330125911.1050879-1-yangyingliang@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic/vnic_stats.h')
0 files changed, 0 insertions, 0 deletions