summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/uptime.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/uptime.c b/src/uptime.c
index 7809e0790..da8e4dd22 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -151,11 +151,7 @@ print_uptime (size_t n, const STRUCT_UTMP *this)
printf (ngettext ("%lu user", "%lu users", entries),
(unsigned long int) entries);
-#if defined HAVE_GETLOADAVG || defined C_GETLOADAVG
loads = getloadavg (avg, 3);
-#else
- loads = -1;
-#endif
if (loads == -1)
putchar ('\n');