Commit 958bcf5b authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging: csr: os.c: remove col variable

theres no point in checking the col variable,
its always zero, and wont print a new line, actually
its better to have a new line after a set of characters
printed, instead of confusing with the concatenated
characters when called multiple times at a time.
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ffe6d91c
......@@ -459,7 +459,7 @@ dump16(void *mem, u16 len)
void
dump_str(void *mem, u16 len)
{
int i, col = 0;
int i;
unsigned char *pdata = (unsigned char *)mem;
#ifdef ANDROID_TIMESTAMP
printk("timestamp %s \n", print_time());
......@@ -467,9 +467,7 @@ dump_str(void *mem, u16 len)
for (i = 0; i < len; i++) {
printk("%c", pdata[i]);
}
if (col) {
printk("\n");
}
} /* dump_str() */
#endif /* CSR_ONLY_NOTES */
......
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