diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-11-04 16:40:58 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-11-04 16:40:58 +0000 |
commit | 2657232caf4da2ba09f47284b7a74a7a184bfb4d (patch) | |
tree | 1546fa721c3f566ae83d1a54a3a1806328c6b341 /drivers/dahdi/wctdm24xxp | |
parent | 8b7ede56279bbf1f47105c0cdc18741659290848 (diff) |
wctdm24xxp: Remove unused 'usecount' member.
'usecount' was removed in revision 6926 but parts were accidentally
merged back in revision 8123 as part of the Hx8 merge.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9470 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp')
-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; |