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)
commit91f42b33e5b48a956a352ce10da52b77f4277d5f
tree5c78bad9090616e25c8c9fb0805f5ecaaf217c18
parent61778a1c5a4556da1a1e005d506f89f009031e62
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