Skip to content

Commit

Permalink
staging: csr: os.c: remove braces around single statement blocks
Browse files Browse the repository at this point in the history
remove all braces around single statement if blocks

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Oct 30, 2012
1 parent 958bcf5 commit 4933d39
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions drivers/staging/csr/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,8 @@ dump(void *mem, u16 len)
return;
}
for (i = 0; i < len; i++) {
if (col == 0) {
if (col == 0)
printk("0x%02X: ", i);
}

printk(" %02X", pdata[i]);

Expand All @@ -423,9 +422,8 @@ dump(void *mem, u16 len)
col = 0;
}
}
if (col) {
if (col)
printk("\n");
}
} /* dump() */


Expand All @@ -438,9 +436,8 @@ dump16(void *mem, u16 len)
printk("timestamp %s \n", print_time());
#endif /* ANDROID_TIMESTAMP */
for (i = 0; i < len; i+=2) {
if (col == 0) {
if (col == 0)
printk("0x%02X: ", i);
}

printk(" %04X", *p++);

Expand All @@ -449,9 +446,8 @@ dump16(void *mem, u16 len)
col = 0;
}
}
if (col) {
if (col)
printk("\n");
}
}


Expand Down

0 comments on commit 4933d39

Please sign in to comment.