diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-05-22 12:37:03 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-05-22 12:37:03 +0000 |
commit | eaf5cf5a00d50d816062991f7b4ab39bc3b67caa (patch) | |
tree | 213659c16fd571795dbb48c79e59ce59eab74cf1 /drivers/dahdi/dahdi_dynamic_loc.c | |
parent | 51d0dce98f109bef2bfa47feb3810c13f97fef13 (diff) |
and with another fell swoop... 2.4 kernel support is gone too
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4327 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_dynamic_loc.c')
-rw-r--r-- | drivers/dahdi/dahdi_dynamic_loc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/dahdi/dahdi_dynamic_loc.c b/drivers/dahdi/dahdi_dynamic_loc.c index f16d68f..7ed9d7e 100644 --- a/drivers/dahdi/dahdi_dynamic_loc.c +++ b/drivers/dahdi/dahdi_dynamic_loc.c @@ -154,11 +154,7 @@ static int digit2int(char d) spin_unlock_irqrestore(&zlock, flags); if (cur == z) { printk("TDMoL: Removed interface for %s, key %d id %d\n", z->span->name, z->key, z->id); -#ifndef LINUX26 - MOD_DEC_USE_COUNT; -#else module_put(THIS_MODULE); -#endif kfree(z); } } @@ -223,12 +219,8 @@ static int digit2int(char d) z->next = zdevs; zdevs = z; spin_unlock_irqrestore(&zlock, flags); -#ifndef LINUX26 - MOD_INC_USE_COUNT; -#else if(!try_module_get(THIS_MODULE)) printk("TDMoL: Unable to increment module use count\n"); -#endif printk("TDMoL: Added new interface for %s, key %d id %d\n", span->name, z->key, z->id); } |