From 10944a19209bb520054569e0f156f50338901264 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 24 Jul 2015 13:33:11 +0100 Subject: Remove unused qemu_fls function Nothing uses qemu_fls() any more, so delete it. Signed-off-by: Peter Maydell Reviewed-by: Paolo Bonzini Message-id: 1437741192-20955-6-git-send-email-peter.maydell@linaro.org --- util/cutils.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'util/cutils.c') diff --git a/util/cutils.c b/util/cutils.c index 5d1c9eb..43aafde 100644 --- a/util/cutils.c +++ b/util/cutils.c @@ -145,11 +145,6 @@ time_t mktimegm(struct tm *tm) return t; } -int qemu_fls(int i) -{ - return 32 - clz32(i); -} - /* * Make sure data goes on disk, but if possible do not bother to * write out the inode just for timestamp updates. -- cgit v1.1