summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-08-04 16:22:36 +0000
committerShaun Ruffell <sruffell@digium.com>2009-08-04 16:22:36 +0000
commitdfb127aec9eb12562639ce650bdea37354487390 (patch)
tree6c876975622499cb478d3f6369f4dc2f1f6db640
parent9ce2b6f2339ef6972e21cf574d9a8ffad9c71740 (diff)
wctdm24xxp: txints and rxints duplicate intcount. Remove them.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6932 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c2
-rw-r--r--drivers/dahdi/wctdm24xxp/wctdm24xxp.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index 9ef08d9..7e442db 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -1765,7 +1765,6 @@ static inline void wctdm_isr_misc(struct wctdm *wc)
static void handle_receive(void* vbb, void* context)
{
struct wctdm *wc = context;
- wc->rxints++;
wctdm_receiveprep(wc, vbb);
}
@@ -1773,7 +1772,6 @@ static void handle_transmit(void* vbb, void* context)
{
struct wctdm *wc = context;
memset(vbb, 0, SFRAME_SIZE);
- wc->txints++;
wctdm_transmitprep(wc, vbb);
wctdm_isr_misc(wc);
wc->intcount++;
diff --git a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
index 5c4e817..40ca060 100644
--- a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
+++ b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h
@@ -145,8 +145,6 @@ struct wctdm {
char board_name[80];
struct dahdi_span span;
unsigned int intcount;
- unsigned int rxints;
- unsigned int txints;
unsigned char txident;
unsigned char rxident;
int pos;