From 11df96b40768b7b7c69cfb006dba8e536cda0dce Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 2 Nov 2012 14:33:28 +0400 Subject: [PATCH] parasite: Drop dead code Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- parasite.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/parasite.c b/parasite.c index 579e8d2bb..cff0b80fc 100644 --- a/parasite.c +++ b/parasite.c @@ -79,24 +79,6 @@ static void brk_free(unsigned long bytes) brk_tail -= bytes; } -#if 0 -static const unsigned char hex[] = "0123456789abcdef"; -static char *long2hex(unsigned long v) -{ - static char buf[32]; - char *p = buf; - int i; - - for (i = sizeof(long) - 1; i >= 0; i--) { - *p++ = hex[ ((((unsigned char *)&v)[i]) & 0xf0) >> 4 ]; - *p++ = hex[ ((((unsigned char *)&v)[i]) & 0x0f) >> 0 ]; - } - *p = 0; - - return buf; -} -#endif - #define PME_PRESENT (1ULL << 63) #define PME_SWAP (1ULL << 62) #define PME_FILE (1ULL << 61)