mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Revert "osdep: add getloadavg"
This reverts commit dc864d3a37
.
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>
This commit is contained in:
parent
9f7ac8e869
commit
1a2253c712
2 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue