]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Avoid that building with W=1 triggers complaints about set-but-not-used...
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 30 Mar 2016 22:25:21 +0000 (15:25 -0700)
committerBart Van Assche <bart.vanassche@sandisk.com>
Tue, 17 Jan 2017 19:26:47 +0000 (11:26 -0800)
commit65ef620931366163282c11ae07429bab19b620cf
tree5c78bad9090616e25c8c9fb0805f5ecaaf217c18
parentf8e9b88e98d1bd522fa4039e00bd9e47465835f9
qla2xxx: Avoid that building with W=1 triggers complaints about set-but-not-used variables

Remove two set-but-not-used variables and avoid that the compiler
warns about a third variable (rc).

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_target.c