scsi: qla2xxx: Remove two superfluous casts
authorBart Van Assche <bvanassche@acm.org>
Thu, 11 Apr 2019 21:53:24 +0000 (14:53 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Apr 2019 02:04:40 +0000 (22:04 -0400)
commit81bcf1c5cf0ee875de3f3b0c930194dcf56969ee
tree339d2813903c01634bff5398f06a09fc97e80364
parentbb63e47b6f6832f1eb5be4207c65a6f268e01059
scsi: qla2xxx: Remove two superfluous casts

Casting a void pointer into another pointer before assigning the pointer to
a variable is not useful. Hence remove such casts.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c