diff options
author | Jason Yan <yanaijie@huawei.com> | 2023-04-21 12:37:43 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-05-08 14:16:18 +0300 |
commit | ba9be7e70e15dd75375131826f4b8a484efec4d0 (patch) | |
tree | 31957a2e5485b5b5ae666463de67dbd945e18d63 /tools/perf/scripts/python | |
parent | e3be011e828037be60fc91fa2d1791f9ee612a46 (diff) | |
download | linux-ba9be7e70e15dd75375131826f4b8a484efec4d0.tar.xz |
scsi: libsas: Remove an empty branch in sas_check_parent_topology()
There is an empty "all good" branch in sas_check_parent_topology(). We can
reverse the test statement and remove the empty branch.
Moreover, factor out a helper sas_check_edge_expander_topo() to make the
code more readable.
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20230421093744.1583609-3-yanaijie@huawei.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions