[svn-commits] sruffell: linux/trunk r9131 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 13 13:36:21 CDT 2010


Author: sruffell
Date: Fri Aug 13 13:36:14 2010
New Revision: 9131

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9131
Log:
wctdm24xxp: 'is_span_digital' -> 'dahdi_is_span_digital'

Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Modified:
    linux/trunk/drivers/dahdi/wctdm24xxp/base.c

Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=9131&r1=9130&r2=9131
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Fri Aug 13 13:36:14 2010
@@ -204,11 +204,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];
@@ -3754,7 +3749,7 @@
 		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 {




More information about the svn-commits mailing list