tools: kwboot: Cleanup bootmsg and debugmsg variables
authorPali Rohár <pali@kernel.org>
Wed, 2 Mar 2022 10:49:20 +0000 (11:49 +0100)
committerStefan Roese <sr@denx.de>
Fri, 4 Mar 2022 12:12:00 +0000 (13:12 +0100)
commitc1d911f15f81a09126f52fac3e78e2eb6cfd224b
tree09d0c18d09ed3c0699170d66a6c0eebaf8eac3ff
parent132016e2706affdd9e150c4e34fd2d1f5bd05749
tools: kwboot: Cleanup bootmsg and debugmsg variables

Function kwboot_debugmsg() is always called with kwboot_msg_debug as msg
and function kwboot_bootmsg() with kwboot_msg_debug as msg. Function
kwboot_bootmsg() is never called with NULL msg.

Simplify, cleanup and remove dead code.

No functional change.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
tools/kwboot.c