summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:27:40 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:27:40 +0000
commit15c113b01ef824460f4cd98c685feaf6d7349b08 (patch)
tree46399c2474d057ec8e5b87f7348874e6a3c15da2 /drivers
parent7ca9fa95de4a3e657efc03a628fcb4f14956cf60 (diff)
dahdi: Trivial formatting change in dahdi_receive.
Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9601 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dahdi/dahdi-base.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 1e0e341..c27d28f 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -8847,7 +8847,7 @@ int dahdi_receive(struct dahdi_span *span)
#endif
local_irq_save(flags);
- for (x=0;x<span->channels;x++) {
+ for (x = 0; x < span->channels; x++) {
struct dahdi_chan *const chan = span->chans[x];
if (chan->master == chan) {
spin_lock(&chan->lock);
@@ -8890,13 +8890,10 @@ int dahdi_receive(struct dahdi_span *span)
__qevent(chan, DAHDI_EVENT_RINGOFFHOOK);
}
}
- if (chan->pulsetimer)
- {
+ if (chan->pulsetimer) {
chan->pulsetimer--;
- if (chan->pulsetimer <= 0)
- {
- if (chan->pulsecount)
- {
+ if (chan->pulsetimer <= 0) {
+ if (chan->pulsecount) {
if (chan->pulsecount > 12) {
module_printk(KERN_NOTICE, "Got pulse digit %d on %s???\n",