aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorAxel Rasmussen <[email protected]>2021-05-19 13:03:31 -0700
committerPaolo Bonzini <[email protected]>2021-05-27 07:45:55 -0400
commit25408e5a0246048e3e36d2cd513565ebcc481f51 (patch)
treef6a0d6f20e94b548b4f5c38316f0dedf231e3b49 /scripts/gdb/linux/timerlist.py
parent2aab4b355cbbe1deacfd9349729c43509042b557 (diff)
KVM: selftests: simplify setup_demand_paging error handling
A small cleanup. Our caller writes: r = setup_demand_paging(...); if (r < 0) exit(-r); Since we're just going to exit anyway, instead of returning an error we can just re-use TEST_ASSERT. This makes the caller simpler, as well as the function itself - no need to write our branches, etc. Signed-off-by: Axel Rasmussen <[email protected]> Message-Id: <[email protected]> Reviewed-by: Ben Gardon <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions