mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
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>
This commit is contained in:
parent
958bcf5b36
commit
4933d3935c
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user