Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index c9a8a99de4c3e1cca190b563f69e6c5918304c8a..ab9bba88455906ecb61b6f90cc107b7171f2fc33 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -233,7 +233,6 @@ def _SkipTreeCheck(input_api, output_api): |
"""Check the env var whether we want to skip tree check. |
Only skip if include/v8-version.h has been updated.""" |
src_version = 'include/v8-version.h' |
- FilterFile = lambda file: file.LocalPath() == src_version |
if not input_api.AffectedSourceFiles( |
lambda file: file.LocalPath() == src_version): |
return False |