Re: [PATCH 1/4] scsi: lpfc: fix unused variable warning

2019-03-06 Thread Martin K. Petersen
Arnd, > The newly introduced 'cpu' variable is only used inside of an optional > block, so we get a warning without CONFIG_SCSI_LPFC_DEBUG_FS: Applied to 5.1/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH 1/4] scsi: lpfc: fix unused variable warning

2019-03-04 Thread Arnd Bergmann
The newly introduced 'cpu' variable is only used inside of an optional block, so we get a warning without CONFIG_SCSI_LPFC_DEBUG_FS: drivers/scsi/lpfc/lpfc_nvme.c: In function 'lpfc_nvme_io_cmd_wqe_cmpl': drivers/scsi/lpfc/lpfc_nvme.c:968:30: error: unused variable 'cpu' [-Werror=unused-variable]