]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Reuse existing error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 11 Apr 2021 09:21:40 +0000 (11:21 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Apr 2021 04:38:58 +0000 (00:38 -0400)
commiteb3a3606f5d3682ea5c06c86d2fe90c751f1833e
tree0e831e5c9143dc261ab4f82c95f63f19945c083a
parentf494c6a187d6af0056748d9fb273d837137509a0
scsi: qla2xxx: Reuse existing error handling path

There is no need to duplicate code, use the existing error handling path to
free resources. This is more future-proof.

Link: https://lore.kernel.org/r/6973844a1532ec2dc8e86f3533362e79d78ed774.1618132821.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_bsg.c