summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xpp_dahdi.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-03-03 12:42:31 -0600
committerShaun Ruffell <sruffell@digium.com>2011-04-15 14:21:14 -0500
commitf900e1f229bbd4e04229052b18a1dc6cacbb0e52 (patch)
tree88000a1a498af9c4b15324a7275f50a46bf2e667 /drivers/dahdi/xpp/xpp_dahdi.c
parent3080253725eb7a1ba1cec08735c1476a3fd3c1c7 (diff)
dahdi: Move irq/irqmisses from dahdi_span into dahdi_device.
These fields do not have anything to do with the span. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
-rw-r--r--drivers/dahdi/xpp/xpp_dahdi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c
index 99fb62d..4bd9287 100644
--- a/drivers/dahdi/xpp/xpp_dahdi.c
+++ b/drivers/dahdi/xpp/xpp_dahdi.c
@@ -1186,13 +1186,6 @@ int dahdi_register_xpd(xpd_t *xpd)
*/
phonedev->ddev->location = xbus->connector;
- /*
- * Who said a span and irq have 1-1 relationship?
- * Also exporting this low-level detail isn't too wise.
- * No irq's for you today!
- */
- span->irq = 0;
-
snprintf(PHONEDEV(xpd).span.desc, MAX_SPANDESC, "Xorcom XPD #%02d/%1d%1d: %s",
xbus->num, xpd->addr.unit, xpd->addr.subunit, xpd->type_name);
XPD_DBG(GENERAL, xpd, "Registering span '%s'\n", PHONEDEV(xpd).span.desc);