summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 18:44:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-24 18:44:27 +0000
commit1fc78d3d0bc0676e58483afcb6b5035e598b6c31 (patch)
tree8e6afdd06a849c3b660b81afd04392e4649b879c
parentcb321921fe04f6ccaeb56c4bf3e8965ee4764738 (diff)
parent1f742864faba7fc5acc5151a1f653e3b2347aa43 (diff)
downloadsystem_core-1fc78d3d0bc0676e58483afcb6b5035e598b6c31.zip
system_core-1fc78d3d0bc0676e58483afcb6b5035e598b6c31.tar.gz
system_core-1fc78d3d0bc0676e58483afcb6b5035e598b6c31.tar.bz2
Merge "Liblog: Remove unused function"
-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