diff options
| author | Thomas Gleixner <[email protected]> | 2019-08-21 19:09:22 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-08-28 09:50:42 +0000 |
| commit | dd6702241337bcd0bae01d2644b7bae1a496d937 (patch) | |
| tree | 6523dbfe991021e9bf87e0f537d1e15126d288d5 /tools/perf/util/c++/clang-test.cpp | |
| parent | posix-cpu-timers: Get rid of 64bit divisions (diff) | |
| download | kernel-dd6702241337bcd0bae01d2644b7bae1a496d937.tar.gz kernel-dd6702241337bcd0bae01d2644b7bae1a496d937.zip | |
posix-cpu-timers: Remove pointless comparisons
The soft RLIMIT expiry code checks whether the soft limit is greater than
the hard limit. That's pointless because if the soft RLIMIT is greater than
the hard RLIMIT then that code cannot be reached as the hard RLIMIT check
is before that and already killed the process.
Remove it.
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/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions
