diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-30 19:18:41 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 19:45:38 (GMT) |
commit | 4933d3935c41b9c2e1e402970ea2b0a41efdf6f2 (patch) | |
tree | 59a5d655d1c87f2e9614ab6508400c77990f0793 /drivers/staging/csr | |
parent | 958bcf5b36f5bbe7b5a3bb423181f8b745bfe23b (diff) | |
download | linux-4933d3935c41b9c2e1e402970ea2b0a41efdf6f2.tar.xz |
staging: csr: os.c: remove braces around single statement blocks
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>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r-- | drivers/staging/csr/os.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/csr/os.c b/drivers/staging/csr/os.c index 0d9842a..37ec59d 100644 --- a/drivers/staging/csr/os.c +++ b/drivers/staging/csr/os.c @@ -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]); @@ -423,9 +422,8 @@ dump(void *mem, u16 len) col = 0; } } - if (col) { + if (col) printk("\n"); - } } /* dump() */ @@ -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++); @@ -449,9 +446,8 @@ dump16(void *mem, u16 len) col = 0; } } - if (col) { + if (col) printk("\n"); - } } |