DescriptionCHROMIUM: verity: remove dead code in dm_bht_verify_path
The depth == 0 check is no longer necessary as depth can never
be zero at this point. We check depth > 0 at the top of the while
loop and only decrement depth at the bottom and before the continue.
BUG=9752
TEST= Ran dm-verity.git unit tests. Ran platform_DMVerityCorruption on H/W.
Change-Id: Ie3854a2b71b36ea4cb6b2114e298f6a424f707b5
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=acafb2e
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|