[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <36a94f19a24e5ccf6bcb283f06f685c7ec14449a.1334798829.git.wking@tremily.us>
Date: Wed, 18 Apr 2012 21:30:28 -0400
From: "W. Trevor King" <wking@...mily.us>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: "W. Trevor King" <wking@...mily.us>,
Ian Abbott <abbotti@....co.uk>,
Mori Hess <fmhess@...rs.sourceforge.net>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 2/2] staging: comedi: ni_tio_internal.h: checkpatch.pl
cleanups
* No braces for single statement blocks.
Signed-off-by: W. Trevor King <wking@...mily.us>
---
drivers/staging/comedi/drivers/ni_tio_internal.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/drivers/ni_tio_internal.h b/drivers/staging/comedi/drivers/ni_tio_internal.h
index f9295ec..5e00212 100644
--- a/drivers/staging/comedi/drivers/ni_tio_internal.h
+++ b/drivers/staging/comedi/drivers/ni_tio_internal.h
@@ -694,11 +694,10 @@ static inline unsigned Gi_Gate_Interrupt_Enable_Bit(unsigned counter_index)
{
unsigned bit;
- if (counter_index % 2) {
+ if (counter_index % 2)
bit = G1_Gate_Interrupt_Enable_Bit;
- } else {
+ else
bit = G0_Gate_Interrupt_Enable_Bit;
- }
return bit;
}
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists