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

From: James Smart
Date: Tue Jun 04 2019 - 13:38:37 EST




On 5/31/2019 8:27 AM, YueHaibing wrote:
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]

It's not used since commit e70596a60f88 ("scsi: lpfc: Fix
poor use of hardware queues if fewer irq vectors")

Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>


Looks good - thank You

Reviewed-by: James Smart <james.smart@xxxxxxxxxxxx>