scsi: libsas: Remove scsi_to_u32()
authorBart Van Assche <bvanassche@acm.org>
Wed, 23 Jan 2019 19:08:05 +0000 (11:08 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jan 2019 05:46:22 +0000 (00:46 -0500)
commit59abc8cc05856cb31d6e07a8e25f0d749d559233
treead0986eee707205b94267fcb47e6817ee8a36f95
parentb64ae4abbdc4a5d56de8c97095a43182c10aa726
scsi: libsas: Remove scsi_to_u32()

Since the function scsi_to_u32() is identical to get_unaligned_be32(),
change all scsi_to_u32() calls into get_unaligned_be32() calls.

Cc: Jian Luo <luojian5@huawei.com>
Cc: John Garry <john.garry@huawei.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_expander.c
include/scsi/scsi.h