mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 12:01:08 +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
|
@ -162,7 +162,6 @@ int qemu_strnlen(const char *s, int max_len);
|
||||||
* Returns: the pointer originally in @input.
|
* Returns: the pointer originally in @input.
|
||||||
*/
|
*/
|
||||||
char *qemu_strsep(char **input, const char *delim);
|
char *qemu_strsep(char **input, const char *delim);
|
||||||
int qemu_fls(int i);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* strtosz() suffixes used to specify the default treatment of an
|
* strtosz() suffixes used to specify the default treatment of an
|
||||||
|
|
|
@ -127,11 +127,6 @@ char *qemu_strsep(char **input, const char *delim)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int qemu_fls(int i)
|
|
||||||
{
|
|
||||||
return 32 - clz32(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int64_t suffix_mul(char suffix, int64_t unit)
|
static int64_t suffix_mul(char suffix, int64_t unit)
|
||||||
{
|
{
|
||||||
switch (qemu_toupper(suffix)) {
|
switch (qemu_toupper(suffix)) {
|
||||||
|
|
Loading…
Reference in a new issue