diff options
| author | Thomas Gleixner <[email protected]> | 2019-08-21 19:08:59 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-08-28 09:50:30 +0000 |
| commit | 5405d0051f7ca820d1781d87baf4d730ff58f208 (patch) | |
| tree | 19d69707cefe1cb6f63550458d9fdb7b58372408 /tools/perf/scripts/python/sctop.py | |
| parent | posix-cpu-timers: Use clock ID in posix_cpu_timer_rearm() (diff) | |
| download | kernel-5405d0051f7ca820d1781d87baf4d730ff58f208.tar.gz kernel-5405d0051f7ca820d1781d87baf4d730ff58f208.zip | |
posix-cpu-timers: Remove pointless return value check
set_process_cpu_timer() checks already whether the clock id is valid. No
point in checking the return value of the sample function. That allows to
simplify the sample function later.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
