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:
Dan Carpenter 2025-10-29 16:13:13 +03:00 committed by Greg Kroah-Hartman
parent 79b6761260
commit 70421f9bd8

View File

@ -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;