[SCSI] qla2xxx: Clean up qla84xx_mgmt_cmd()
authorBart Van Assche <bvanassche@acm.org>
Tue, 25 Jun 2013 15:27:23 +0000 (11:27 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 8 Jul 2013 16:25:58 +0000 (17:25 +0100)
commita44c72f309224973ffc7c7dfeee6e354c6f3d739
treeea638beefd9465709fcaaf76a54b83306425f66a
parent090fc2e2cf6a2763f609af6f128a812d5051d935
[SCSI] qla2xxx: Clean up qla84xx_mgmt_cmd()

Remove dead code, simplify a pointer computation and move the
ql84_mgmt assignment to just before its first use.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_dbg.c