[svn-commits] tzafrir: linux/trunk r10272 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Oct 26 13:57:34 CDT 2011
Author: tzafrir
Date: Wed Oct 26 13:57:31 2011
New Revision: 10272
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10272
Log:
dahdi: dahdi_is_analog_span() -> dahdi_is_digital_span()
* dahdi-base.c had a reverse is_analog_span() static function -- fixed.
Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Acked-by: Shaun Ruffell <sruffell at digium.com>
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=10272&r1=10271&r2=10272
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Wed Oct 26 13:57:31 2011
@@ -3711,11 +3711,6 @@
spin_unlock_irqrestore(&chan->lock, flags);
}
-static inline bool is_analog_span(const struct dahdi_span *s)
-{
- return (s->linecompat == 0);
-}
-
static void __dahdi_find_master_span(void)
{
struct dahdi_span *s;
@@ -3727,7 +3722,7 @@
list_for_each_entry(s, &span_list, node) {
if (s->alarms)
continue;
- if (!is_analog_span(s) &&
+ if (dahdi_is_digital_span(s) &&
!test_bit(DAHDI_FLAGBIT_RUNNING, &s->flags))
continue;
if (!can_provide_timing(s))
More information about the svn-commits
mailing list