Re: [PATCH] scsi: lpfc: remove useless code in lpfc_sli4_bsg_link_diag_test
From: Martin K. Petersen
Date: Wed Aug 23 2017 - 22:46:13 EST
Gustavo,
> Remove variable assignments. The value stored in local variable _rc_
> is overwritten at line 2448:rc =
> lpfc_sli4_bsg_set_link_diag_state(phba, 0); before it can be used.
Applied to 4.14/scsi-queue. Thank you!
--
Martin K. Petersen Oracle Linux Engineering