diff --git a/include/qemu-common.h b/include/qemu-common.h index bbaffd12e7248903a39d441af6c4124b27460580..f3288216504f635ccf838468c7310ff41ce79944 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -199,7 +199,6 @@ int qemu_strnlen(const char *s, int max_len); */ char *qemu_strsep(char **input, const char *delim); time_t mktimegm(struct tm *tm); -int qemu_fls(int i); int qemu_fdatasync(int fd); int fcntl_setfl(int fd, int flag); int qemu_parse_fd(const char *param); diff --git a/util/cutils.c b/util/cutils.c index 5d1c9ebe051025a611cc189a47347c9481c10f79..43aafde8a59a8a2d9a84bfba7816d9413b62a711 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.