]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bootconfig: Simplify expression
authorzuoqilin <zuoqilin@yulong.com>
Wed, 14 Apr 2021 13:46:47 +0000 (21:46 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 10 Jun 2021 15:16:20 +0000 (11:16 -0400)
commite5e3e5c19481d259465899b42be7f1cc17c104ee
tree3f430934a83c1c353ef9c54edfb52e8834eb303d
parent4495c52c88db8d0dd87c6fbe41cb4fc5e7d906ca
tools/bootconfig: Simplify expression

It is not necessary to define the variable ret to receive
the return value of the xbc_node_compose_key() method.

Link: https://lkml.kernel.org/r/20210414134647.1870-1-zuoqilin1@163.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: zuoqilin <zuoqilin@yulong.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/bootconfig/main.c