diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 2 | ||||
-rw-r--r-- | drivers/dahdi/wctdm24xxp/wctdm24xxp.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index af838cb..656054e 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -3482,8 +3482,6 @@ static int wctdm_open(struct dahdi_chan *chan) if (wc->dead) return -ENODEV; #endif - wc->usecount++; - if (wc->modtype[channo] == MOD_TYPE_FXO) { /* Reset the mwi indicators */ spin_lock_irqsave(&wc->reglock, flags); diff --git a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h index e24843f..70df96a 100644 --- a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h +++ b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h @@ -168,7 +168,6 @@ struct wctdm_chan { struct wctdm { const struct wctdm_desc *desc; char board_name[80]; - int usecount; int pos; /* card number in system */ spinlock_t frame_list_lock; |