mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
staging: vchiq_arm: delete unnecessary check
Both sides of this if else statement print exactly the same thing. Delete the unnecessary if statement. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Umang Jain <uajain@igalia.com> Link: https://patch.msgid.link/aQIS6Q73Ss8xyJTD@stanley.mountain Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
79b6761260
commit
70421f9bd8
|
|
@ -4001,10 +4001,7 @@ void vchiq_log_dump_mem(struct device *dev, const char *label, u32 addr,
|
|||
}
|
||||
*s++ = '\0';
|
||||
|
||||
if (label && (*label != '\0'))
|
||||
dev_dbg(dev, "core: %s: %08x: %s\n", label, addr, line_buf);
|
||||
else
|
||||
dev_dbg(dev, "core: %s: %08x: %s\n", label, addr, line_buf);
|
||||
dev_dbg(dev, "core: %s: %08x: %s\n", label, addr, line_buf);
|
||||
|
||||
addr += 16;
|
||||
mem += 16;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user