Skip to content

Commit

Permalink
util/osdep: Remove some early cruft
Browse files Browse the repository at this point in the history
The include for statvfs.h has not been needed since all statvfs calls
were removed in commit 4a1418e ("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 aafd758 ("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>
  • Loading branch information
adeason authored and pm215 committed Mar 18, 2022
1 parent 9c2d83f commit 79d54c9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions util/osdep.c
Expand Up @@ -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"
Expand Down

0 comments on commit 79d54c9

Please sign in to comment.