[dahdi-commits] sruffell: linux/trunk r9601 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Jan 3 18:27:44 UTC 2011
Author: sruffell
Date: Mon Jan 3 12:27:40 2011
New Revision: 9601
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9601
Log:
dahdi: Trivial formatting change in dahdi_receive.
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9601&r1=9600&r2=9601
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Jan 3 12:27:40 2011
@@ -8847,7 +8847,7 @@
#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 @@
__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",
More information about the dahdi-commits
mailing list