summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/atomic.h
diff options
context:
space:
mode:
authorColin Ian King2019-07-01 19:52:46 +0200
committerUlf Hansson2019-07-10 13:17:30 +0200
commit42248a918d7c18a535b08f05badb988b140298f6 (patch)
tree7391c3def2f8f4c5954e7486d63ce9f2bb3ebbed /arch/arc/include/asm/atomic.h
parentmmc: sdhci-msm: fix mutex while in spinlock (diff)
downloadkernel-qcow2-linux-42248a918d7c18a535b08f05badb988b140298f6.tar.gz
kernel-qcow2-linux-42248a918d7c18a535b08f05badb988b140298f6.tar.xz
kernel-qcow2-linux-42248a918d7c18a535b08f05badb988b140298f6.zip
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>
Diffstat (limited to 'arch/arc/include/asm/atomic.h')
0 files changed, 0 insertions, 0 deletions