scsi: qla2xxx: Use an on-stack completion in qla24xx_control_vp()
authorBart Van Assche <bvanassche@acm.org>
Wed, 17 Apr 2019 21:44:34 +0000 (14:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2019 21:24:51 +0000 (17:24 -0400)
commit982cc4be05d6d0d8b15b1340416737ad60bddcae
tree0ad79bef5e1fa62702341387cfa8cfb247078716
parent1956eee58872e622cfe03f060a5d8a20d24afe47
scsi: qla2xxx: Use an on-stack completion in qla24xx_control_vp()

This patch reduces the size of struct srb.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_mid.c