diff --git a/qemu/include/qemu-common.h b/qemu/include/qemu-common.h index 1b40bbd5..bef8ef5c 100644 --- a/qemu/include/qemu-common.h +++ b/qemu/include/qemu-common.h @@ -162,7 +162,6 @@ int qemu_strnlen(const char *s, int max_len); * Returns: the pointer originally in @input. */ char *qemu_strsep(char **input, const char *delim); -int qemu_fls(int i); /* * strtosz() suffixes used to specify the default treatment of an diff --git a/qemu/util/cutils.c b/qemu/util/cutils.c index dd0d56a7..f7fa35cb 100644 --- a/qemu/util/cutils.c +++ b/qemu/util/cutils.c @@ -127,11 +127,6 @@ char *qemu_strsep(char **input, const char *delim) return result; } -int qemu_fls(int i) -{ - return 32 - clz32(i); -} - static int64_t suffix_mul(char suffix, int64_t unit) { switch (qemu_toupper(suffix)) {