Commit 4933d393 authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging: csr: os.c: remove braces around single statement blocks

remove all braces around single statement if blocks
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 958bcf5b
...@@ -412,9 +412,8 @@ dump(void *mem, u16 len) ...@@ -412,9 +412,8 @@ dump(void *mem, u16 len)
return; return;
} }
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
if (col == 0) { if (col == 0)
printk("0x%02X: ", i); printk("0x%02X: ", i);
}
printk(" %02X", pdata[i]); printk(" %02X", pdata[i]);
...@@ -423,9 +422,8 @@ dump(void *mem, u16 len) ...@@ -423,9 +422,8 @@ dump(void *mem, u16 len)
col = 0; col = 0;
} }
} }
if (col) { if (col)
printk("\n"); printk("\n");
}
} /* dump() */ } /* dump() */
...@@ -438,9 +436,8 @@ dump16(void *mem, u16 len) ...@@ -438,9 +436,8 @@ dump16(void *mem, u16 len)
printk("timestamp %s \n", print_time()); printk("timestamp %s \n", print_time());
#endif /* ANDROID_TIMESTAMP */ #endif /* ANDROID_TIMESTAMP */
for (i = 0; i < len; i+=2) { for (i = 0; i < len; i+=2) {
if (col == 0) { if (col == 0)
printk("0x%02X: ", i); printk("0x%02X: ", i);
}
printk(" %04X", *p++); printk(" %04X", *p++);
...@@ -449,9 +446,8 @@ dump16(void *mem, u16 len) ...@@ -449,9 +446,8 @@ dump16(void *mem, u16 len)
col = 0; col = 0;
} }
} }
if (col) { if (col)
printk("\n"); printk("\n");
}
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment