aboutsummaryrefslogtreecommitdiff
path: root/util/osdep.c
diff options
context:
space:
mode:
authorAndrew Deason <adeason@sinenomine.net>2022-03-15 22:52:27 -0500
committerPeter Maydell <peter.maydell@linaro.org>2022-03-18 11:32:13 +0000
commit79d54c9eac04c554e3c081589542f801ace71797 (patch)
treedcf39f4859c516dc5447ad3d0f1dc8f72af03ae3 /util/osdep.c
parent9c2d83f5a0ef558f8882998af6cb800101243655 (diff)
downloadqemu-79d54c9eac04c554e3c081589542f801ace71797.zip
qemu-79d54c9eac04c554e3c081589542f801ace71797.tar.gz
qemu-79d54c9eac04c554e3c081589542f801ace71797.tar.bz2
util/osdep: Remove some early cruft
The include for statvfs.h has not been needed since all statvfs calls were removed in commit 4a1418e07bdc ("Unbreak large mem support by removing kqemu"). The comment mentioning CONFIG_BSD hasn't made sense since an include for config-host.h was removed in commit aafd75841001 ("util: Clean up includes"). Remove this cruft. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrew Deason <adeason@sinenomine.net> Message-id: 20220316035227.3702-4-adeason@sinenomine.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util/osdep.c')
-rw-r--r--util/osdep.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/osdep.c b/util/osdep.c
index 1825399..394804d 100644
--- a/util/osdep.c
+++ b/util/osdep.c
@@ -23,13 +23,6 @@
*/
#include "qemu/osdep.h"
#include "qapi/error.h"
-
-/* Needed early for CONFIG_BSD etc. */
-
-#ifdef CONFIG_SOLARIS
-#include <sys/statvfs.h>
-#endif
-
#include "qemu-common.h"
#include "qemu/cutils.h"
#include "qemu/sockets.h"