scsi: qla2xxx: Introduce qla2x00_els_dcmd2_free()
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:16 +0000 (20:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:09 +0000 (21:34 -0400)
commitc6e58160a2c0caf6a8079134f0807bef0ecec6b8
treef8e62d3d0465bd76fc310b28bb5756213e7c652f
parent897def2004213636ffe2e9ee6a75660c5b53b03d
scsi: qla2xxx: Introduce qla2x00_els_dcmd2_free()

This patch reduces code duplication.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-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_gbl.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_iocb.c