[svn-commits] alecdavis: linux/trunk r9060 - in /linux/trunk/drivers/dahdi: ./ wcb4xxp/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Jul 29 17:45:47 CDT 2010
Author: alecdavis
Date: Thu Jul 29 17:45:36 2010
New Revision: 9060
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9060
Log:
reverting: add curly braces to _write_8bits
Against Kernel Coding Guidelines
Modified:
linux/trunk/drivers/dahdi/wcb4xxp/Makefile (props changed)
linux/trunk/drivers/dahdi/wctdm.c
Propchange: linux/trunk/drivers/dahdi/wcb4xxp/Makefile
('svn:mergeinfo' removed)
Modified: linux/trunk/drivers/dahdi/wctdm.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm.c?view=diff&rev=9060&r1=9059&r2=9060
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm.c (original)
+++ linux/trunk/drivers/dahdi/wctdm.c Thu Jul 29 17:45:36 2010
@@ -468,11 +468,10 @@
outb(wc->ios, wc->ioaddr + WC_AUXD);
for (x=0;x<8;x++) {
/* Send out each bit, MSB first, drop SCLK as we do so */
- if (bits & 0x80) {
+ if (bits & 0x80)
wc->ios |= BIT_SDI;
- } else {
+ else
wc->ios &= ~BIT_SDI;
- }
wc->ios &= ~BIT_SCLK;
outb(wc->ios, wc->ioaddr + WC_AUXD);
More information about the svn-commits
mailing list