summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-07-24 13:33:11 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-09-07 14:19:00 +0100
commit10944a19209bb520054569e0f156f50338901264 (patch)
tree034d5d060031f753818d502372a47169594a0325 /util
parent6554f5c03793bb8a3d5dedcebf758a1694fa186c (diff)
downloadqemu-10944a19209bb520054569e0f156f50338901264.tar.gz
qemu-10944a19209bb520054569e0f156f50338901264.tar.bz2
qemu-10944a19209bb520054569e0f156f50338901264.zip
Remove unused qemu_fls function
Nothing uses qemu_fls() any more, so delete it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1437741192-20955-6-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'util')
-rw-r--r--util/cutils.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/cutils.c b/util/cutils.c
index 5d1c9ebe05..43aafde8a5 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.