Commit-ID: 06786963020cc42c50f2c95d1ca5cb839460fa0e Gitweb: http://git.kernel.org/tip/06786963020cc42c50f2c95d1ca5cb839460fa0e Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 14 Aug 2017 13:53:10 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 15 Aug 2017 10:54:25 -0300
perf tests shell: Remove duplicate skip_if_no_debuginfo() function Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> --- 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 4230804..3eaddf1 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 -}

