summaryrefslogtreecommitdiffstats
path: root/liblog
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 10:36:55 -0800
committerAndreas Gampe <agampe@google.com>2014-11-24 10:36:55 -0800
commit1f742864faba7fc5acc5151a1f653e3b2347aa43 (patch)
tree6ab29dc2aa08048c853764a8d96e8d1b49cad79d /liblog
parent7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff)
downloadsystem_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.c9
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