Re: [PATCH] scsi: snic: Remove unused linkstatus
From: Martin K. Petersen
Date: Tue Feb 17 2026 - 21:38:12 EST
Thomas,
> The (struct vnic_dev).linkstatus buffer is freed in
> svnic_dev_unregister() and referenced in svnic_dev_link_status() but
> never alloc'd. This means (struct vnic_dev).linkstatus is always null
> and the dealloc the reference in svnic_dev_link_status() is dead code.
Applied to 7.0/scsi-staging, thanks!
--
Martin K. Petersen