diff options
| author | Jason Yan <[email protected]> | 2023-04-21 17:37:42 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-05-08 07:16:18 -0400 |
| commit | e3be011e828037be60fc91fa2d1791f9ee612a46 (patch) | |
| tree | c6912eb6fda3c5d96d3d06f812abe0fa451097ca /tools/perf/scripts/python | |
| parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
scsi: libsas: Simplify sas_check_eeds()
In sas_check_eeds() there is an empty branch. We can reverse the test
expression and then remove the empty branch. Also the test expression is a
little bit complex so it deserves an individual function. And make the
continuing prototype lines indented after the opening parenthesis to follow
the standard coding style.
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