From: Arnaldo Carvalho de Melo Date: Mon, 14 Aug 2017 16:53:10 +0000 (-0300) Subject: perf tests shell: Remove duplicate skip_if_no_debuginfo() function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06786963020cc42c50f2c95d1ca5cb839460fa0e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git perf tests shell: Remove duplicate skip_if_no_debuginfo() function Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-3zxjswdbs2au3ih0rino0iy1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/tests/shell/lib/probe_vfs_getname.sh b/tools/perf/tests/shell/lib/probe_vfs_getname.sh index 42308040f882..3eaddf190a30 100644 --- a/tools/perf/tests/shell/lib/probe_vfs_getname.sh +++ b/tools/perf/tests/shell/lib/probe_vfs_getname.sh @@ -21,8 +21,3 @@ skip_if_no_debuginfo() { add_probe_vfs_getname -v 2>&1 | grep -q "^Failed to find the path for kernel" && return 2 return 1 } - -skip_if_no_debuginfo() { - add_probe_vfs_getname -v 2>&1 | grep -q "^Failed to find the path for kernel" && return 2 - return 1 -}