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.
TBR=wad (code already LGTMed and submitted to kernel.git)
BUG=9752
TEST= Ran dm-verity.git unit tests. Ran platform_DMVerityCorruption on H/W.
Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
kernel.git Review URL: http://codereview.chromium.org/6286102
Change-Id: Ic28e1ddeefa1dbd9d0fe3f93b689bfcc4e240bc6
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=4dfd3ca
Patch Set 1 #Messages
Total messages: 1 (0 generated)
|