No need to check for loop variable value
authorNikos Ntarmos <ntarmos@cs.uoi.gr>
Thu, 28 May 2009 13:43:15 +0000 (16:43 +0300)
committerBrenden Matthews <brenden@rty.ca>
Fri, 29 May 2009 03:27:55 +0000 (21:27 -0600)
commitff72a55691d5d193ab76f82314d0f7ad1319a6f8
tree3f396b075ff2875d9d98b9e565417e56d6bcdc42
parent33451a942026fc886e245a2e748dac48bd1bcb21
No need to check for loop variable value

If the first for-loop succedds in finding the desired interface, it will return to its caller. The only way we drop to the second for-loop is if nothing is found thus far, so no need to check for (i == 16).

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
src/common.c