Remove unused qemu_fls function

Nothing uses qemu_fls() any more, so delete it.

Backports commit 10944a19209bb520054569e0f156f50338901264 from qemu
This commit is contained in:
Peter Maydell 2018-02-15 11:10:39 -05:00 committed by Lioncash
parent 400fd62ba7
commit e08c524068
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
2 changed files with 0 additions and 6 deletions

View file

@ -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

View file

@ -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)) {