summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xpp_dahdi.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 15:57:44 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 15:57:44 +0000
commit1dfdd987165c27d786ef28abd78eca0b67dff62a (patch)
tree4b1e2eb3688f00071f93980e1c497fdc37359192 /drivers/dahdi/xpp/xpp_dahdi.c
parentb50e5115b88a2cf02503b0684d6eeecf0c4807c8 (diff)
xpp: remove an unused manual reference count field.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5132 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
-rw-r--r--drivers/dahdi/xpp/xpp_dahdi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c
index b1a7121..9c4963f 100644
--- a/drivers/dahdi/xpp/xpp_dahdi.c
+++ b/drivers/dahdi/xpp/xpp_dahdi.c
@@ -594,9 +594,6 @@ void xpd_remove(xpd_t *xpd)
dahdi_unregister_xpd(xpd);
CALL_XMETHOD(card_remove, xbus, xpd);
xpd_free(xpd);
- if(atomic_dec_and_test(&xbus->xbus_ref_count)) {
- XBUS_DBG(DEVICES, xbus, "%s: Last ref to xbus. Removing\n", __FUNCTION__);
- }
}
void update_xpd_status(xpd_t *xpd, int alarm_flag)