summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wctdm24xxp')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index 2d3a746..0b4b803 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -206,11 +206,6 @@ static inline bool is_hx8(const struct wctdm *wc)
return (&wcha80000 == wc->desc) || (&wchb80000 == wc->desc);
}
-static inline bool is_digital_span(const struct wctdm_span *wspan)
-{
- return (wspan->span.linecompat > 0);
-}
-
struct wctdm *ifaces[WC_MAX_IFACES];
DECLARE_MUTEX(ifacelock);
@@ -3754,7 +3749,7 @@ static struct wctdm_chan *wctdm_init_chan(struct wctdm *wc, struct wctdm_span *s
return NULL;
/* Do not change the procfs representation for non-hx8 cards. */
- if (is_digital_span(s)) {
+ if (dahdi_is_digital_span(&s->span)) {
sprintf(c->chan.name, "WCBRI/%d/%d/%d", wc->pos, s->spanno,
channo);
} else {