mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
remove useless (unsigned >= 0) comparison
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
1d63f046d0
commit
fd2dc53ba4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue