mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 19:28:11 +00:00
Remove unused qemu_fls function
Nothing uses qemu_fls() any more, so delete it. Backports commit 10944a19209bb520054569e0f156f50338901264 from qemu
This commit is contained in:
parent
400fd62ba7
commit
e08c524068
2 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue