From 1f742864faba7fc5acc5151a1f653e3b2347aa43 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 24 Nov 2014 10:36:55 -0800 Subject: [PATCH] Liblog: Remove unused function For build-system CFLAGS clean-up, remove unused function. Change-Id: I8c28c4bbbadaea6a5b32483e9e220794967bdd4e --- liblog/logprint.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/liblog/logprint.c b/liblog/logprint.c index 9b5a543bf..59877828e 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