diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-03-13 20:09:12 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2012-03-13 20:09:12 +0000 |
commit | 00a4ff1bd81d8f3774792539cb50712231d72bfe (patch) | |
tree | f22e2a9c145d2b8d84a5e21cce25c7e0564636ad /drivers/dahdi/wctc4xxp/base.c | |
parent | 950b583f48e117ca3508ef973ad754e6e4b14808 (diff) |
Remove support for kernels < 2.6.18
This patch removes support for kernel versions < 2.6.18, as those are
not actively supported in any major Linux distribution (except RHEL4,
which is in the "extended" support level of the product life cycle).
This removes much of the more #ifdef-rich parts of the code.
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-by: Acked-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10472 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctc4xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctc4xxp/base.c | 11 |
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 |