aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-01-04 16:29:38 +0000
committerThomas Huth <thuth@redhat.com>2024-01-11 11:39:26 +0100
commit1a2253c71281c04acf1624401a2590fad1e2285b (patch)
tree9bad9a0c664778f6abc3fbfbeeea01c6f7f6bc17 /include
parent9f7ac8e8699dd7453a9140a8af5e57cf26d6459e (diff)
downloadqemu-1a2253c71281c04acf1624401a2590fad1e2285b.zip
qemu-1a2253c71281c04acf1624401a2590fad1e2285b.tar.gz
qemu-1a2253c71281c04acf1624401a2590fad1e2285b.tar.bz2
Revert "osdep: add getloadavg"
This reverts commit dc864d3a3777424187280e50c9bfb84dced54f12. This functionality is not required after the previous revert Signed-off-by: "Daniel P. Berrangé" <berrange@redhat.com> Message-ID: <20240104162942.211458-3-berrange@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/osdep.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index db366d6..9a405be 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -781,16 +781,6 @@ static inline int platform_does_not_support_system(const char *command)
}
#endif /* !HAVE_SYSTEM_FUNCTION */
-/**
- * If the load average was unobtainable, -1 is returned
- */
-#ifndef HAVE_GETLOADAVG_FUNCTION
-static inline int getloadavg(double loadavg[], int nelem)
-{
- return -1;
-}
-#endif /* !HAVE_GETLOADAVG_FUNCTION */
-
#ifdef __cplusplus
}
#endif