scsi: libsas: Simplify the return expression of sas_discover_* functions
authorLiu Shixin <liushixin2@huawei.com>
Mon, 21 Sep 2020 13:45:58 +0000 (21:45 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Sep 2020 00:26:08 +0000 (20:26 -0400)
commit3d1a99e2b5400fd32ec647b290340b5ed091d3ae
tree98f706a03252acf527c4f1bb1fa3a8c4dc6938dd
parent713a846884ce02e402e184c11473f6a19dce8665
scsi: libsas: Simplify the return expression of sas_discover_* functions

Simplify the return expression.

Link: https://lore.kernel.org/r/20200921134558.3478922-1-liushixin2@huawei.com
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_discover.c