]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit2c84f3b6e8f0b21c668136d0530ea4c0068db2d1
tree09d0c18d09ed3c0699170d66a6c0eebaf8eac3ff
parent15f0bcfc044eacc31890e435901dccd47df51c61
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