]> git.baikalelectronics.ru Git - kernel.git/commit
dm verity: remove pointless comparison
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 10 Jul 2013 22:41:17 +0000 (23:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 10 Jul 2013 22:41:17 +0000 (23:41 +0100)
commit0e42d0cbfd9db833528efb8ca709c515cd0ad959
tree47b6d39cec72b8c9a18d9c38853e1a20a0fd254e
parent0df630eff9839f6fb7e1f0a2f6bc4e9086b65f43
dm verity: remove pointless comparison

Remove num < 0 test in verity_ctr because num is unsigned.
(Found by Coverity.)

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-verity.c