From 8b1ce24fe48aef5c0f7b4a3ec6a4e5d8076b49ad Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Sun, 28 Aug 2016 10:41:52 +0300 Subject: [PATCH] rdma.m4: remove dulpications Signed-off-by: Vladimir Sokolovsky --- config/rdma.m4 | 84 -------------------------------------------------- 1 file changed, 84 deletions(-) diff --git a/config/rdma.m4 b/config/rdma.m4 index 901d4ea..7e100fa 100644 --- a/config/rdma.m4 +++ b/config/rdma.m4 @@ -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 - ],[ - 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 @@ -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 - ],[ - 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 - ],[ - 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 - ],[ - 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 @@ -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 - ],[ - 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 -- 2.41.0