aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2020-12-20 21:36:35 +0100
committerMartin K. Petersen <[email protected]>2021-01-22 20:25:25 -0500
commitf88a10f80da9ed1ab1ba7496b70e9a0cdd8f7cf8 (patch)
tree38e8b5e6a70a661de1e6c27dc6035173eb0a72a5 /tools/perf/scripts/python
parentefc9d73063c15f1aba8920b9f9ceaba4f3fb8ed9 (diff)
scsi: target: iscsi: Redo iscsit_check_session_usage_count() return code
The return value of iscsit_check_session_usage_count() is only checked if it was not allowed to sleep. If it returns `2' then a timer is prepared. If it returns something else or if it was allowed to sleep then it is ignored. Let iscsit_check_session_usage_count() return true if it needs to arm the timer - otherwise false. This simplifies the code flow of the only caller. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions