Skip to content

Commit

Permalink
perf tools: Remove unused simple_strtoul() function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
artagnon authored and acmel committed Mar 18, 2014
1 parent b68eebd commit a51e87c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/perf/util/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)));

Expand Down

0 comments on commit a51e87c

Please sign in to comment.