[PATCH 14/15] staging: ath6kl: Cuddle while open braces
Joe Perches
joe at perches.com
Wed Feb 2 22:06:00 UTC 2011
Move open brace from line below to line with while.
Signed-off-by: Joe Perches <joe at perches.com>
---
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
More information about the devel
mailing list