Commit a51e87cb5a0fbebee15a3373d951dbf6f59a76c2

Authored by Ramkumar Ramachandra
Committed by Arnaldo Carvalho de Melo
1 parent b68eebd1c2

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>

Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff

tools/perf/util/include/linux/kernel.h
... ... @@ -94,12 +94,6 @@
94 94 return (i >= ssize) ? (ssize - 1) : i;
95 95 }
96 96  
97   -static inline unsigned long
98   -simple_strtoul(const char *nptr, char **endptr, int base)
99   -{
100   - return strtoul(nptr, endptr, base);
101   -}
102   -
103 97 int eprintf(int level,
104 98 const char *fmt, ...) __attribute__((format(printf, 2, 3)));
105 99