diff options
author | Michael Spiceland <mspiceland@digium.com> | 2010-06-24 21:02:56 +0000 |
---|---|---|
committer | Michael Spiceland <mspiceland@digium.com> | 2010-06-24 21:02:56 +0000 |
commit | 2c71fcb05e954a6b85ac9fddbb6b5fbd81831de7 (patch) | |
tree | d05a53e3aa41375d1132ba7da5df2f6e92059471 /drivers/dahdi/wct4xxp | |
parent | dd1204872ea20627d488773cd6987c340c23001d (diff) |
Fix trailing whitespace and make last change more readible. (sruffell suggestion)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8805 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r-- | drivers/dahdi/wct4xxp/base.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c index 4a52c13..421fbad 100644 --- a/drivers/dahdi/wct4xxp/base.c +++ b/drivers/dahdi/wct4xxp/base.c @@ -2205,10 +2205,7 @@ static void __t4_configure_t1(struct t4 *wc, int unit, int lineconfig, int txlev 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 @@ static void __t4_configure_e1(struct t4 *wc, int unit, int lineconfig) 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; |