summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctc4xxp/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wctc4xxp/base.c')
-rw-r--r--drivers/dahdi/wctc4xxp/base.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c
index 29579d3..61d5617 100644
--- a/drivers/dahdi/wctc4xxp/base.c
+++ b/drivers/dahdi/wctc4xxp/base.c
@@ -42,11 +42,7 @@
#include "dahdi/kernel.h"
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18)
-#include <asm/io.h>
-#else
#include <linux/io.h>
-#endif
/* COMPILE TIME OPTIONS =================================================== */
@@ -73,13 +69,6 @@
dev_info(&(wc)->pdev->dev, _fmt, ## _args); \
} \
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 14)
-/* also added in RHEL kernels with the OpenInfiniband backport: */
-#if LINUX_VERSION_CODE != KERNEL_VERSION(2, 6, 9) || !defined(DEFINE_SPINLOCK)
-typedef unsigned gfp_t; /* Added in 2.6.14 */
-#endif
-#endif
-
/* define CONFIG_WCTC4XXP_POLLING to operate in a pure polling mode. This is
* was placed in as a debugging tool for a particluar system that wasn't