scsi: pm80xx: Remove set but not used variable 'page_code'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 14 Sep 2018 01:38:56 +0000 (01:38 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 17 Sep 2018 06:26:15 +0000 (02:26 -0400)
commitfdd0a66b7af4e49c068e3d5960b90090db955776
tree456ce636370a5185ea2e45c8fbca0989da06d5b7
parent78d85f31519cbfa6e96252292fe7b464593cded5
scsi: pm80xx: Remove set but not used variable 'page_code'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/pm8001/pm80xx_hwi.c: In function 'pm8001_set_phy_profile':
drivers/scsi/pm8001/pm80xx_hwi.c:4679:6: warning:
 variable 'page_code' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm80xx_hwi.c