[svn-commits] sruffell: branch linux/sruffell/chan_list r9338 - /linux/team/sruffell/chan_l...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Sep 17 14:11:48 CDT 2010
Author: sruffell
Date: Fri Sep 17 14:11:37 2010
New Revision: 9338
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9338
Log:
dahdi: Trivial formatting change in dahdi_receive.
Modified:
linux/team/sruffell/chan_list/drivers/dahdi/dahdi-base.c
Modified: linux/team/sruffell/chan_list/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/sruffell/chan_list/drivers/dahdi/dahdi-base.c?view=diff&rev=9338&r1=9337&r2=9338
==============================================================================
--- linux/team/sruffell/chan_list/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/sruffell/chan_list/drivers/dahdi/dahdi-base.c Fri Sep 17 14:11:37 2010
@@ -8769,7 +8769,7 @@
#ifdef CONFIG_DAHDI_WATCHDOG
span->watchcounter--;
#endif
- 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_irqsave(&chan->lock, flags);
@@ -8812,13 +8812,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 svn-commits
mailing list