remove useless (unsigned >= 0) comparison

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-10-04 01:13:35 +02:00
parent 1d63f046d0
commit fd2dc53ba4

View File

@ -136,7 +136,7 @@ static int get_prefix_1(inet_prefix *dst, char *arg, int family)
if (!(host & (host + 1))) {
for (plen = 0; mask; mask <<= 1)
++plen;
if (plen >= 0 && plen <= dst->bitlen) {
if (plen <= dst->bitlen) {
dst->bitlen = plen;
/* dst->flags |= PREFIXLEN_SPECIFIED; */
} else