OSDN Git Service

qla2xxx: Comment out unreachable code
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 4 Jun 2015 22:57:20 +0000 (15:57 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 13 Jun 2015 15:50:41 +0000 (08:50 -0700)
commit5897cb2fc3016c9c2e4b1e3ec91d47522e08bd6e
tree3bba704db60ee6ba7159a15b429480e23c26a240
parent8cd1943bf0e87f467a1b498c63483f70b18b43d7
qla2xxx: Comment out unreachable code

Comment out the code that is never reached in qla83xx_idc_unlock()
and also in qlt_set_data_offset() to avoid that static source code
analysis tools report warnings for this code.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c