Skip to contentSkip to conversation

configure: Remove checks for unused headers

PATCH New Petr Vorel 2 participants 2 messages Sep 6, 2017

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 configure: Remove checks for unused headers

dmapi.h and sys/jfsdmapi.h were both added in ef7725396 (in 2009)

dmapi.h was never used, sys/jfsdmapi.h was used in testcases/kernel/fs/dmapi/dm_test.h, which was removed in 80c8fac51 ("testcases: Remove dmapi")

---
 configure.ac             | 2 --
 include/config.h.default | 6 ------
 2 files changed, 8 deletions(-)
configure.ac +0 -2
index 23e583dd8..458a5b13f 100644
@@ -31,7 +31,6 @@ AC_PROG_YACC
 AC_PREFIX_DEFAULT(/opt/ltp)
 
 AC_CHECK_HEADERS([ \
-    dmapi.h \
     ifaddrs.h \
     libaio.h \
     mm.h \
@@ -44,7 +43,6 @@ AC_CHECK_HEADERS([ \
     sys/epoll.h \
     sys/inotify.h \
     sys/fanotify.h \
-    sys/jfsdmapi.h \
     sys/prctl.h \
 ])
 
include/config.h.default +0 -6
index dc38e5cc0..ef6a3d55f 100644
@@ -77,9 +77,6 @@
    you don't. */
 #undef HAVE_DECL_PTRACE_SETOPTIONS
 
-/* Define to 1 if you have the <dmapi.h> header file. */
-#undef HAVE_DMAPI_H
-
 /* Define to 1 if you have the <ifaddrs.h> header file. */
 #define HAVE_IFADDRS_H 1
 
@@ -200,9 +197,6 @@
 /* Define to 1 if you have the <sys/inotify.h> header file. */
 #define HAVE_SYS_INOTIFY_H 1
 
-/* Define to 1 if you have the <sys/jfsdmapi.h> header file. */
-#undef HAVE_SYS_JFSDMAPI_H
-
 /* Define to 1 if you have the <sys/prctl.h> header file. */
 #undef HAVE_SYS_PRCTL_H
 
Signature · 1 line
2.14.0