From 6e895b34902d31dfdb08e1fcf47a8c505f17e391 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Wed, 26 Feb 2020 21:35:57 +0000 Subject: [PATCH] system: remove unused function. --- src/bin/system.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bin/system.c b/src/bin/system.c index da2ea7c..1231479 100644 --- a/src/bin/system.c +++ b/src/bin/system.c @@ -95,14 +95,6 @@ _memsize_bytes_to_kb(unsigned long *bytes) *bytes = (unsigned int)*bytes >> 10; } -#define _memsize_kb_to_mb _memsize_bytes_to_kb - -static void -_memsize_kb_to_gb(unsigned long *bytes) -{ - *bytes = (unsigned int)*bytes >> 20; -} - #if defined(__linux__) static char * file_contents(const char *path)