diff options
author | Mike Spiceland <mspiceland@digium.com> | 2010-06-24 21:02:56 +0000 |
---|---|---|
committer | Mike Spiceland <mspiceland@digium.com> | 2010-06-24 21:02:56 +0000 |
commit | 383c6299767a6fb6e484ccd78c467a414ec716a3 (patch) | |
tree | d05a53e3aa41375d1132ba7da5df2f6e92059471 /drivers/dahdi/wct4xxp/base.c | |
parent | 178c6c8f99457e099c69538d9a36250daaca1c3f (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/base.c')
-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; |