[dahdi-commits] sruffell: linux/trunk r9470 -	/linux/trunk/drivers/dahdi/wctdm24xxp/
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Thu Nov  4 11:41:02 CDT 2010
    
    
  
Author: sruffell
Date: Thu Nov  4 11:40:58 2010
New Revision: 9470
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9470
Log:
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 at digium.com>
Modified:
    linux/trunk/drivers/dahdi/wctdm24xxp/base.c
    linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=9470&r1=9469&r2=9470
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Thu Nov  4 11:40:58 2010
@@ -3482,8 +3482,6 @@
 	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);
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h?view=diff&rev=9470&r1=9469&r2=9470
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/wctdm24xxp.h Thu Nov  4 11:40:58 2010
@@ -168,7 +168,6 @@
 struct wctdm {
 	const struct wctdm_desc *desc;
 	char board_name[80];
-	int usecount;
 	int pos;				/* card number in system */
 
 	spinlock_t frame_list_lock;
    
    
More information about the dahdi-commits
mailing list