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/wcb4xxp | |
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/wcb4xxp')
-rw-r--r-- | drivers/dahdi/wcb4xxp/base.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/dahdi/wcb4xxp/base.c b/drivers/dahdi/wcb4xxp/base.c index 2255add..c3896c5 100644 --- a/drivers/dahdi/wcb4xxp/base.c +++ b/drivers/dahdi/wcb4xxp/base.c @@ -1198,7 +1198,6 @@ static int b4xxp_find_sync(struct b4xxp *b4) return src; } -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)) static ssize_t b4_timing_master_show(struct device *dev, struct device_attribute *attr, char *buf) @@ -1226,13 +1225,6 @@ static void remove_sysfs_files(struct b4xxp *b4) &dev_attr_timing_master); } -#else - -static inline void create_sysfs_files(struct b4xxp *b4) { return; } -static inline void remove_sysfs_files(struct b4xxp *b4) { return; } - -#endif /* LINUX_KERNEL > 2.6.18 */ - /* * allocates memory and pretty-prints a given S/T state engine state to it. * calling routine is responsible for freeing the pointer returned! |