Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ramkumar Ramachandra and committed by
Arnaldo Carvalho de Melo
a51e87cb b68eebd1

-6
-6
tools/perf/util/include/linux/kernel.h
··· 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