scsi: libsas: factor out sas_check_fanout_expander_topo()
authorJason Yan <yanaijie@huawei.com>
Fri, 21 Apr 2023 09:37:44 +0000 (17:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 8 May 2023 11:16:18 +0000 (07:16 -0400)
commitcf3cd61e76607801081adc35ae288b90921e6097
treeaf904c7d1f793a65a4a834ba41df756e1224cf73
parentba9be7e70e15dd75375131826f4b8a484efec4d0
scsi: libsas: factor out sas_check_fanout_expander_topo()

To be consistent with sas_check_edge_expander_topo(), factor out
sas_check_fanout_expander_topo(). And remove the comment since we are not
spilling over 80 colums now.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20230421093744.1583609-4-yanaijie@huawei.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_expander.c