diff options
| author | Jason Yan <[email protected]> | 2023-04-21 17:37:43 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-05-08 07:16:18 -0400 |
| commit | ba9be7e70e15dd75375131826f4b8a484efec4d0 (patch) | |
| tree | 31957a2e5485b5b5ae666463de67dbd945e18d63 /tools/perf/scripts/python | |
| parent | e3be011e828037be60fc91fa2d1791f9ee612a46 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions