aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2019-08-21 21:09:22 +0200
committerThomas Gleixner <[email protected]>2019-08-28 11:50:42 +0200
commitdd6702241337bcd0bae01d2644b7bae1a496d937 (patch)
tree6523dbfe991021e9bf87e0f537d1e15126d288d5 /lib/memory-notifier-error-inject.c
parent8ea1de90a5eccdc18c8f05f8596bae8660a3ff9a (diff)
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions