[CRIU] [PATCH] parasite: Drop builtin_strlen, it's unused

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 16 10:50:21 EDT 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 parasite.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/parasite.c b/parasite.c
index ff7265d..0f9108e 100644
--- a/parasite.c
+++ b/parasite.c
@@ -77,14 +77,6 @@ static void brk_free(unsigned long bytes)
 		brk_tail -= bytes;
 }
 
-static unsigned long builtin_strlen(char *str)
-{
-	unsigned long len = 0;
-	while (*str++)
-		len++;
-	return len;
-}
-
 static int builtin_atoi(char *str)
 {
 	int ret = str[0] - '0';
-- 
1.7.7.6



More information about the CRIU mailing list