]> git.openfabrics.org - ~tnikolova/compat/.git/commitdiff
rdma.m4: remove dulpications
authorVladimir Sokolovsky <vlad@mellanox.com>
Sun, 28 Aug 2016 07:41:52 +0000 (10:41 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Sun, 28 Aug 2016 07:41:52 +0000 (10:41 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
config/rdma.m4

index 901d4ea8c738bcd99ff741177afeaddddfe571fb..7e100fa9200682b5d2bf2b7e26c047cf86eddc21 100644 (file)
@@ -331,25 +331,6 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
                AC_MSG_RESULT(no)
        ])
 
-
-       AC_MSG_CHECKING([if struct ethtool_ops_ext has get/set_rxfh_indir])
-       LB_LINUX_TRY_COMPILE([
-               #include <linux/ethtool.h>
-       ],[
-               const struct ethtool_ops_ext en_ethtool_ops_ext = {
-                       .get_rxfh_indir = NULL,
-                       .set_rxfh_indir = NULL,
-               };
-
-               return 0;
-       ],[
-               AC_MSG_RESULT(yes)
-               AC_DEFINE(HAVE_GET_SET_RXFH_INDIR, 1,
-                         [get/set_rxfh_indir is defined])
-       ],[
-               AC_MSG_RESULT(no)
-       ])
-
        AC_MSG_CHECKING([if struct ethtool_ops_ext has get/set_rxfh_indir])
        LB_LINUX_TRY_COMPILE([
                #include <linux/ethtool.h>
@@ -1654,54 +1635,6 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
                AC_MSG_RESULT(no)
        ])
 
-       AC_MSG_CHECKING([if linux/timecounter.h exists])
-       LB_LINUX_TRY_COMPILE([
-               #include <linux/timecounter.h>
-       ],[
-               return 0;
-       ],[
-               AC_MSG_RESULT(yes)
-               AC_DEFINE(HAVE_TIMECOUNTER_H, 1,
-                         [linux/timecounter.h exists])
-       ],[
-               AC_MSG_RESULT(no)
-       ])
-
-       # timecounter_adjtime can be in timecounter.h or clocksource.h
-       AC_MSG_CHECKING([if linux/timecounter.h has timecounter_adjtime])
-       LB_LINUX_TRY_COMPILE([
-               #include <linux/timecounter.h>
-       ],[
-               struct timecounter x;
-               s64 y = 0;
-               timecounter_adjtime(&x, y);
-
-               return 0;
-       ],[
-               AC_MSG_RESULT(yes)
-               AC_DEFINE(HAVE_TIMECOUNTER_ADJTIME, 1,
-                         [timecounter_adjtime is defined])
-       ],[
-               AC_MSG_RESULT(no)
-       ])
-
-       AC_MSG_CHECKING([if linux/clocksource.h has timecounter_adjtime])
-       LB_LINUX_TRY_COMPILE([
-               #include <linux/clocksource.h>
-       ],[
-               struct timecounter x;
-               s64 y = 0;
-               timecounter_adjtime(&x, y);
-
-               return 0;
-       ],[
-               AC_MSG_RESULT(yes)
-               AC_DEFINE(HAVE_TIMECOUNTER_ADJTIME, 1,
-                         [timecounter_adjtime is defined])
-       ],[
-               AC_MSG_RESULT(no)
-       ])
-
        AC_MSG_CHECKING([if struct ethtool_ops has set_dump])
        LB_LINUX_TRY_COMPILE([
                #include <linux/ethtool.h>
@@ -2309,23 +2242,6 @@ AC_DEFUN([LINUX_CONFIG_COMPAT],
        ])
 
        # timecounter_adjtime can be in timecounter.h or clocksource.h
-       AC_MSG_CHECKING([if linux/timecounter.h has timecounter_adjtime])
-       LB_LINUX_TRY_COMPILE([
-               #include <linux/timecounter.h>
-       ],[
-               struct timecounter x;
-               s64 y = 0;
-               timecounter_adjtime(&x, y);
-
-               return 0;
-       ],[
-               AC_MSG_RESULT(yes)
-               AC_DEFINE(HAVE_TIMECOUNTER_ADJTIME, 1,
-                         [timecounter_adjtime is defined])
-       ],[
-               AC_MSG_RESULT(no)
-       ])
-
        AC_MSG_CHECKING([if linux/clocksource.h has timecounter_adjtime])
        LB_LINUX_TRY_COMPILE([
                #include <linux/clocksource.h>