Subject: Re: [PATCH] atm: Cleanup redundant tests on unsigned

From: Eric Dumazet <[email-masked]>
Date: Fri, 23 Oct 2009 18:08:30 +0200

Roel Kluin a écrit :
> The variables are unsigned so the `< 0' test always fails, the
> other part of the test catches wrapped values.
> 
> Signed-off-by: Roel Kluin <[email-masked]>
> ---

I believe such patches were posted in the past.

General consensus is that compiler is able to do this optimization for us,
and reader doesnt have to ask to himself : "Is the test safe enough ?"