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/xpp/xpp_dahdi.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/xpp/xpp_dahdi.c')
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c index 7a0ab90..d2a5503 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.c +++ b/drivers/dahdi/xpp/xpp_dahdi.c @@ -25,11 +25,6 @@ * */ #include <linux/version.h> - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) -#warning "This module is tested only with 2.6 kernels" -#endif - #include <linux/kernel.h> #include <linux/sched.h> #include <linux/errno.h> @@ -79,11 +74,7 @@ static void phonedev_cleanup(xpd_t *xpd); static int parport_xbuses[2] = { 0, 1 }; unsigned int parport_xbuses_num_values; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 9) module_param_array(parport_xbuses, int, &parport_xbuses_num_values, 0577); -#else -module_param_array(parport_xbuses, int, parport_xbuses_num_values, 0577); -#endif MODULE_PARM_DESC(parport_xbuses, "Id's of xbuses to sample (1-2)"); /* |