OSDN Git Service

scsi: libfc: remove set but not used variable 'rpriv'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 4 Sep 2018 03:31:07 +0000 (03:31 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Sep 2018 00:59:11 +0000 (20:59 -0400)
commit5b075efb42bab1e6e6887df275cb2dfe730ab291
tree90b6039d4c92932e0180c5b167d1af54bd9cc4b7
parent948dff7a41c517074b900338645136af5dc4aeda
scsi: libfc: remove set but not used variable 'rpriv'

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

drivers/scsi/libfc/fc_fcp.c: In function 'fc_queuecommand':
drivers/scsi/libfc/fc_fcp.c:1875:30: warning:
 variable 'rpriv' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_fcp.c