[dahdi-commits] mspiceland: linux/trunk r8805 - /linux/trunk/drivers/dahdi/wct4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Jun 24 16:02:59 CDT 2010
Author: mspiceland
Date: Thu Jun 24 16:02:56 2010
New Revision: 8805
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8805
Log:
Fix trailing whitespace and make last change more readible. (sruffell suggestion)
Modified:
linux/trunk/drivers/dahdi/wct4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=8805&r1=8804&r2=8805
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Thu Jun 24 16:02:56 2010
@@ -2205,10 +2205,7 @@
if (lineconfig & DAHDI_CONFIG_AMI) {
line = "AMI";
/* workaround for errata #2 in ES v3 09-10-16 */
- if (wc->falc31)
- fmr0 = 0xb0;
- else
- fmr0 = 0xa0;
+ fmr0 = (wc->falc31) ? 0xb0 : 0xa0;
} else {
line = "B8ZS";
fmr0 = 0xf0;
@@ -2301,10 +2298,7 @@
if (lineconfig & DAHDI_CONFIG_AMI) {
line = "AMI";
/* workaround for errata #2 in ES v3 09-10-16 */
- if (wc->falc31)
- fmr0 = 0xb0;
- else
- fmr0 = 0xa0;
+ fmr0 = (wc->falc31) ? 0xb0 : 0xa0;
} else {
line = "HDB3";
fmr0 = 0xf0;
More information about the dahdi-commits
mailing list