CHROMIUM: 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

Review URL: http://codereview.chromium.org/6626023
1 file changed