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
commit1c2aecf97bbced9c79d6008bb827eef37b1fa2db (patch)
tree6c876975622499cb478d3f6369f4dc2f1f6db640
parentb32d11b73baa192b36b0bceb0d93037a6577bcdd (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;