From: thechargingvolcano Date: Wed, 23 Sep 2015 10:52:37 +0000 (-0700) Subject: Remove unused function in presubmit script X-Git-Tag: upstream/4.7.83~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e05854068414671bd8a60b11154215332e99e1b;p=platform%2Fupstream%2Fv8.git Remove unused function in presubmit script FilterFiles function is defined but unused in the code. BUG= R=machenbach@chromium.org Review URL: https://codereview.chromium.org/1364643002 Cr-Commit-Position: refs/heads/master@{#30882} --- diff --git a/AUTHORS b/AUTHORS index 16505e7f0..8f331b36e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -92,6 +92,7 @@ Rene Rebe Robert Mustacchi Robert Nagy Ryan Dahl +Sakthipriyan Vairamani (thefourtheye) Sandro Santilli Sanjoy Das Seo Sanghyeon diff --git a/PRESUBMIT.py b/PRESUBMIT.py index c9a8a99de..ab9bba884 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