diff options
Diffstat (limited to 'drivers/dahdi/wcte11xp.c')
-rw-r--r-- | drivers/dahdi/wcte11xp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dahdi/wcte11xp.c b/drivers/dahdi/wcte11xp.c index 26f47fa..dec6d65 100644 --- a/drivers/dahdi/wcte11xp.c +++ b/drivers/dahdi/wcte11xp.c @@ -230,7 +230,6 @@ static int t1xxp_open(struct dahdi_chan *chan) if (wc->dead) return -ENODEV; wc->usecount++; - try_module_get(THIS_MODULE); return 0; } @@ -355,7 +354,6 @@ static int t1xxp_close(struct dahdi_chan *chan) struct t1 *wc = chan->pvt; wc->usecount--; - module_put(THIS_MODULE); /* If we're dead, release us now */ if (!wc->usecount && wc->dead) t1xxp_release(wc); |