scsi: qla2xxx: Reduce the number of casts in GID list code
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:35 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:05 +0000 (21:34 -0400)
commit9c17c3b1e0490e436d17b63e8751b2fba030c0f7
tree86cddb35da0d43ec4478232316a786a167ebb89e
parent57bf595a6f24370424f625aac123cd12dbff5ffe
scsi: qla2xxx: Reduce the number of casts in GID list code

This patch makes the code that parses the GID list easier to read without
changing the behavior of the code.

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_dfs.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_target.c