diff options
| author | John Garry <[email protected]> | 2022-02-25 18:57:36 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-27 21:48:30 -0500 |
| commit | a2a59faa359af6304d2bb8a59e8fc879ff0ea55d (patch) | |
| tree | 75333f96afc73db71b41049c8cd903470a73eed2 /tools/perf/scripts/python | |
| parent | f1834fd1635be4b530a7e070c04a6158b8f78c0e (diff) | |
scsi: libsas: Use bool for queue_work() return code
Function queue_work() returns a bool, so use a bool to hold this value for
the return code from callers, which should make the code a tiny bit more
clear.
Also take this opportunity to condense the code of the those callers, such
as sas_queue_work(), as suggested by Damien.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions