remove unused code

Change-Id: I1ec727524801eb735a317d8cc3bbe4db79112424
diff --git a/infra-git-hooks/pre-commit b/infra-git-hooks/pre-commit
deleted file mode 100755
index 2a33b33..0000000
--- a/infra-git-hooks/pre-commit
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env bash
-set -o errexit
-set -o pipefail
-
-# Updates generated configs if source configs have been modified.
-
-# Assume directory layout as created by infra manifest, and CWD is inside a
-# config dir, like fuchsia-infra/config.
-LUCICFG="../../fuchsia-infra/prebuilt/tools/lucicfg"
-if [[ ! -x "${LUCICFG}" ]]; then
-  echo "Expected the following path to be an executable file, but it's not: ${LUCICFG}"
-  exit 1
-fi
-
-# FILES is an array where each element is a file path.
-# We only handle added or modified files, hence the --diff-filter.
-# https://git-scm.com/docs/git-diff#git-diff---diff-filterACDMRTUXB82308203
-mapfile -t FILES < <(git diff --cached --name-only --diff-filter=AM)
-
-SHOULD_GENERATE=false
-for FILE in "${FILES[@]}"; do
-  if [[ "${FILE}" == *.star ]]; then
-    SHOULD_GENERATE=true
-  fi
-done
-
-if [[ "${SHOULD_GENERATE}" == true ]]; then
-  for TOP_LEVEL_STARLARK in $(ls *.star); do
-    "${LUCICFG}" generate "${TOP_LEVEL_STARLARK}"
-  done
-  git add generated/*.cfg
-fi