[svn-commits] tzafrir: linux/trunk r5207 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sun Nov 2 11:33:10 CST 2008
Author: tzafrir
Date: Sun Nov 2 11:33:10 2008
New Revision: 5207
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5207
Log:
dahdi-base: hw_echocancel_off: return 0 if no hardware EC
If the span has no hardware EC, return 0, rather than a random
uninitialized value (which was no harm, as that return value is always
ignored anyway).
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=5207&r1=5206&r2=5207
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Sun Nov 2 11:33:10 2008
@@ -1058,7 +1058,7 @@
static inline int hw_echocancel_off(struct dahdi_chan *chan)
{
- int ret;
+ int ret = 0;
if (!chan->span)
return -ENODEV;
More information about the svn-commits
mailing list