[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091029.014024.29284045.davem@davemloft.net>
Date: Thu, 29 Oct 2009 01:40:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: roel.kluin@...il.com
Cc: netdev@...r.kernel.org, eis@...y.hanse.de,
linux-x25@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH] net: Cleanup redundant tests on unsigned
From: Roel Kluin <roel.kluin@...il.com>
Date: Fri, 23 Oct 2009 17:21:56 +0200
> If there is data, the unsigned skb->len is greater than 0.
>
> rt.sigdigits is unsigned as well, so the test `>= 0' is
> always true, the other part of the test catches wrapped
> values.
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists