summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2014-03-18 17:05:15 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-03-18 18:17:07 -0300
commita51e87cb5a0fbebee15a3373d951dbf6f59a76c2 (patch)
treee6d688f188c1ec0dde44af613f6ff69e8578051f /tools/perf
parentb68eebd1c2a539256e373123cdefabfd1986bfe2 (diff)
downloadop-kernel-dev-a51e87cb5a0fbebee15a3373d951dbf6f59a76c2.zip
op-kernel-dev-a51e87cb5a0fbebee15a3373d951dbf6f59a76c2.tar.gz
perf tools: Remove unused simple_strtoul() function
Moreover, the corresponding function in include/linux/kernel.h is marked obsolete. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1395176715-4465-1-git-send-email-artagnon@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/include/linux/kernel.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/perf/util/include/linux/kernel.h b/tools/perf/util/include/linux/kernel.h
index d8c927c..9844c31 100644
--- a/tools/perf/util/include/linux/kernel.h
+++ b/tools/perf/util/include/linux/kernel.h
@@ -94,12 +94,6 @@ static inline int scnprintf(char * buf, size_t size, const char * fmt, ...)
return (i >= ssize) ? (ssize - 1) : i;
}
-static inline unsigned long
-simple_strtoul(const char *nptr, char **endptr, int base)
-{
- return strtoul(nptr, endptr, base);
-}
-
int eprintf(int level,
const char *fmt, ...) __attribute__((format(printf, 2, 3)));
OpenPOWER on IntegriCloud