diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 10:36:55 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-24 10:36:55 -0800 |
commit | 1f742864faba7fc5acc5151a1f653e3b2347aa43 (patch) | |
tree | 6ab29dc2aa08048c853764a8d96e8d1b49cad79d /liblog | |
parent | 7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff) | |
download | system_core-1f742864faba7fc5acc5151a1f653e3b2347aa43.zip system_core-1f742864faba7fc5acc5151a1f653e3b2347aa43.tar.gz system_core-1f742864faba7fc5acc5151a1f653e3b2347aa43.tar.bz2 |
Liblog: Remove unused function
For build-system CFLAGS clean-up, remove unused function.
Change-Id: I8c28c4bbbadaea6a5b32483e9e220794967bdd4e
Diffstat (limited to 'liblog')
-rw-r--r-- | liblog/logprint.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/liblog/logprint.c b/liblog/logprint.c index 9b5a543..5987782 100644 --- a/liblog/logprint.c +++ b/liblog/logprint.c @@ -344,15 +344,6 @@ error: return -1; } -static inline char * strip_end(char *str) -{ - char *end = str + strlen(str) - 1; - - while (end >= str && isspace(*end)) - *end-- = '\0'; - return str; -} - /** * Splits a wire-format buffer into an AndroidLogEntry * entry allocated by caller. Pointers will point directly into buf |