summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-25 18:52:05 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-25 18:52:05 +0000
commit4d47f0fcf1145f8dbff3ac130dbc358c5d357ff7 (patch)
tree6ca31e2f5d02e30e0cf425ebd7aa09c65bdb96dc
parent87fdfc718e9eccdd9c40e7bca7a48af40b6bf732 (diff)
parent1fc78d3d0bc0676e58483afcb6b5035e598b6c31 (diff)
downloadsystem_core-4d47f0fcf1145f8dbff3ac130dbc358c5d357ff7.zip
system_core-4d47f0fcf1145f8dbff3ac130dbc358c5d357ff7.tar.gz
system_core-4d47f0fcf1145f8dbff3ac130dbc358c5d357ff7.tar.bz2
am 1fc78d3d: Merge "Liblog: Remove unused function"
* commit '1fc78d3d0bc0676e58483afcb6b5035e598b6c31': 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