Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: drivers/md/dm-bht.c

Issue 6286102: CHROMIUM: verity: remove dead code in dm_bht_verify_path (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/md/dm-bht.c
diff --git a/drivers/md/dm-bht.c b/drivers/md/dm-bht.c
index bc662cbd188500158fc6e1691c38f3110c285101..c1c2d19c7e5bafcf0cea5b99b541ba95a2cddc8c 100644
--- a/drivers/md/dm-bht.c
+++ b/drivers/md/dm-bht.c
@@ -737,12 +737,6 @@ static int dm_bht_verify_path(struct dm_bht *bht, unsigned int block_index)
goto mismatch;
}
- /* At depth 0, we're at the page underneath the root node and
- * leave its validation to a separate path.
- */
- if (depth == 0)
- break;
-
/* We need to check that this entry matches the expected
* hash in the parent->nodes.
*/
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698