[svn-commits] sruffell: linux/trunk r9575 - /linux/trunk/drivers/dahdi/dahdi_dynamic.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jan 3 18:25:45 UTC 2011
Author: sruffell
Date: Mon Jan 3 12:25:41 2011
New Revision: 9575
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9575
Log:
dahdi_dynamic: Remove tests for KERNEL_VERSION < 2.6.9
2.6.9 is the earliest kernel version currently supported by DAHDI.
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Modified:
linux/trunk/drivers/dahdi/dahdi_dynamic.c
Modified: linux/trunk/drivers/dahdi/dahdi_dynamic.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi_dynamic.c?view=diff&rev=9575&r1=9574&r2=9575
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_dynamic.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_dynamic.c Mon Jan 3 12:25:41 2011
@@ -618,16 +618,7 @@
dtd = find_driver(dds->driver);
if (!dtd) {
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,70)
- char fn[80];
-#endif
-
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
request_module("dahdi_dynamic_%s", dds->driver);
-#else
- sprintf(fn, "dahdi_dynamic_%s", dds->driver);
- request_module(fn);
-#endif
dtd = find_driver(dds->driver);
}
More information about the svn-commits
mailing list