Re: [patch V2 35/38] posix-cpu-timers: Remove pointless comparisons
From: Frederic Weisbecker
Date: Mon Aug 26 2019 - 19:00:04 EST
On Wed, Aug 21, 2019 at 09:09:22PM +0200, Thomas Gleixner wrote:
> 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 <tglx@xxxxxxxxxxxxx>
Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>