Skip to contentSkip to conversation

perf tools: remove unused simple_strtoul() function

PATCH New Ramkumar Ramachandra 2 participants 2 messages Mar 18, 2014 – Mar 19, 2014 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf tools: remove unused simple_strtoul() function

Moreover, the corresponding function in include/linux/kernel.h is marked obsolete.

Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
---
 tools/perf/util/include/linux/kernel.h | 6 ------
 1 file changed, 6 deletions(-)
tools/perf/util/include/linux/kernel.h +0 -6
index d8c927c..9844c31 100644
@@ -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)));
 
Signature · 1 line
1.9.0.431.g014438b
#1 lore raw

[tip:perf/core] perf tools: Remove unused simple_strtoul() function

perf tools: Remove unused simple_strtoul() function
Commit-ID:  a51e87cb5a0fbebee15a3373d951dbf6f59a76c2
Gitweb:     http://git.kernel.org/tip/a51e87cb5a0fbebee15a3373d951dbf6f59a76c2
Author:     Ramkumar Ramachandra <[email protected]>
AuthorDate: Tue, 18 Mar 2014 17:05:15 -0400
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 18 Mar 2014 18:17:07 -0300

perf tools: Remove unused simple_strtoul() function

Moreover, the corresponding function in include/linux/kernel.h is marked obsolete.

---
 tools/perf/util/include/linux/kernel.h | 6 ------
 1 file changed, 6 deletions(-)
tools/perf/util/include/linux/kernel.h +0 -6
index d8c927c..9844c31 100644
@@ -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)));