dm dust: remove redundant unsigned comparison to less than zero
authorColin Ian King <colin.king@canonical.com>
Wed, 1 May 2019 12:57:17 +0000 (13:57 +0100)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 May 2019 20:05:06 +0000 (16:05 -0400)
commitcacddeab563be5850ec12ba6a1396e120f94a529
tree3ab4b162ea52c66484a01914e40359ae48feabcc
parent940bc471780b004a5277c1931f52af363c2fc9da
dm dust: remove redundant unsigned comparison to less than zero

Variable block is an unsigned long long hence the less than zero
comparison is always false, hence it is redundant and can be removed.

Addresses-Coverity: ("Unsigned compared against 0")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Bryan Gurney <bgurney@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-dust.c