From c674c147fd33a291fe90581d8f37711feb0e1c9c Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 4 Nov 2010 16:40:58 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9470 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wctdm24xxp/base.c | 2 -- drivers/dahdi/wctdm24xxp/wctdm24xxp.h | 1 - 2 files changed, 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;