Skip to content
Commit 42248a91 authored by Colin Ian King's avatar Colin Ian King Committed by Ulf Hansson
Browse files

mmc: alcor: remove a redundant greater or equal to zero comparison



A greater or equal comparison on the unsigned int variable tmp_diff
is always true as unsigned ints are never negative.  Hence the
comparison is redundant and can be removed.

Addresses-Coverity: ("Unsigned compared against 0")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 5e6b6651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment