From 06786963020cc42c50f2c95d1ca5cb839460fa0e Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 14 Aug 2017 13:53:10 -0300 Subject: [PATCH] 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 --- tools/perf/tests/shell/lib/probe_vfs_getname.sh | 5 ----- 1 file changed, 5 deletions(-) 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 -} -- 2.30.2