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
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user