]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: cxgb4i: remove set but not used variable 'ppmax'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 21 Oct 2019 14:20:42 +0000 (22:20 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2019 01:15:30 +0000 (21:15 -0400)
commited5dabfe375541644e45a76733a8df39d3bc9084
tree3ce0001e6415aca92e926a864840827a13da171e
parentea94b4df011924ce4952edd3aeefe1fb84c1f7c2
scsi: cxgb4i: remove set but not used variable 'ppmax'

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

drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2076:15:
 warning: variable ppmax set but not used [-Wunused-but-set-variable]
drivers/target/iscsi/cxgbit/cxgbit_ddp.c:300:15:
 warning: variable ppmax set but not used [-Wunused-but-set-variable]

It is not used since commit e563c515fb3b ("cxgb4/libcxgb/cxgb4i/cxgbit:
enable eDRAM page pods for iSCSI")

Link: https://lore.kernel.org/r/20191021142042.30964-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/target/iscsi/cxgbit/cxgbit_ddp.c