[PATCH 14/15] staging: ath6kl: Cuddle while open braces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Move open brace from line below to line with while.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
 drivers/staging/ath6kl/bmi/src/bmi.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/ath6kl/bmi/src/bmi.c b/drivers/staging/ath6kl/bmi/src/bmi.c
index c52daf5..dc034d7 100644
--- a/drivers/staging/ath6kl/bmi/src/bmi.c
+++ b/drivers/staging/ath6kl/bmi/src/bmi.c
@@ -227,8 +227,7 @@ BMIReadMemory(HIF_DEVICE *device,
 
 	remaining = length;
 
-	while (remaining)
-	{
+	while (remaining) {
 		rxlen = (remaining < BMI_DATASZ_MAX) ? remaining : BMI_DATASZ_MAX;
 		offset = 0;
 		A_MEMCPY(&(pBMICmdBuf[offset]), &cid, sizeof(cid));
@@ -285,8 +284,7 @@ BMIWriteMemory(HIF_DEVICE *device,
 	cid = BMI_WRITE_MEMORY;
 
 	remaining = length;
-	while (remaining)
-	{
+	while (remaining) {
 		src = &buffer[length - remaining];
 		if (remaining < (BMI_DATASZ_MAX - header)) {
 			if (remaining & 3) {
@@ -671,8 +669,7 @@ BMILZData(HIF_DEVICE *device,
 	cid = BMI_LZ_DATA;
 
 	remaining = length;
-	while (remaining)
-	{
+	while (remaining) {
 		txlen = (remaining < (BMI_DATASZ_MAX - header)) ?
 			remaining : (BMI_DATASZ_MAX - header);
 		offset = 0;
-- 
1.7.4.rc3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux