disk.c: remove unused lines
authorPavel Rochnyack <pavel2000@ngs.ru>
Fri, 12 Jul 2019 12:07:39 +0000 (19:07 +0700)
committerMatthias Runge <mrunge@redhat.com>
Fri, 19 Jul 2019 07:50:19 +0000 (09:50 +0200)
limits.h check removed in 865f2eb31e8264edd9337bc63ac59f6c2fa3b5a7
limits.h included in src/daemon/collectd.h unconditionally

Issue: #3181
(cherry picked from commit d99416997de1c4d9e676960719327a52a364f605)

src/disk.c

index e73a5c0..ecb06c8 100644 (file)
@@ -59,9 +59,6 @@
 #include <libgeom.h>
 #endif
 
-#if HAVE_LIMITS_H
-#include <limits.h>
-#endif
 #ifndef UINT_MAX
 #define UINT_MAX 4294967295U
 #endif