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@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9575 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
cee7f745e5
commit
8c709f9aa0
@ -618,16 +618,7 @@ static int create_dynamic(struct dahdi_dynamic_span *dds)
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user