Remove unused function in presubmit script
authorthechargingvolcano <thechargingvolcano@gmail.com>
Wed, 23 Sep 2015 10:52:37 +0000 (03:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 23 Sep 2015 10:52:45 +0000 (10:52 +0000)
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}

AUTHORS
PRESUBMIT.py

diff --git a/AUTHORS b/AUTHORS
index 16505e7f04a7b90da7543135867a3f4209e2c81c..8f331b36ea6ae8fc54f5f9985d6f58a4e612cabf 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -92,6 +92,7 @@ Rene Rebe <rene@exactcode.de>
 Robert Mustacchi <rm@fingolfin.org>
 Robert Nagy <robert.nagy@gmail.com>
 Ryan Dahl <ry@tinyclouds.org>
+Sakthipriyan Vairamani (thefourtheye) <thechargingvolcano@gmail.com>
 Sandro Santilli <strk@keybit.net>
 Sanjoy Das <sanjoy@playingwithpointers.com>
 Seo Sanghyeon <sanxiyn@gmail.com>
index c9a8a99de4c3e1cca190b563f69e6c5918304c8a..ab9bba88455906ecb61b6f90cc107b7171f2fc33 100644 (file)
@@ -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