commit | 42248a918d7c18a535b08f05badb988b140298f6 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Jul 01 18:52:46 2019 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Jul 10 13:17:30 2019 +0200 |
tree | 7391c3def2f8f4c5954e7486d63ce9f2bb3ebbed | |
parent | 5e6b6651d22de109ebf48ca00d0373bc2c0cc080 [diff] |
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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>