Re: [PATCH -next] scsi: lpfc: Remove set but not used variables 'qp'

From: Martin K. Petersen
Date: Tue Jun 04 2019 - 22:34:37 EST



YueHaibing,

> Fixes gcc '-Wunused-but-set-variable' warnings:
>
> drivers/scsi/lpfc/lpfc_init.c: In function lpfc_setup_cq_lookup:
> drivers/scsi/lpfc/lpfc_init.c:9359:30: warning: variable qp set but not used [-Wunused-but-set-variable]

Applied to 5.3/scsi-queue, thanks.

--
Martin K. Petersen Oracle Linux Engineering