tools: Remove unnecessary variables
authorLu Hongfei <luhongfei@vivo.com>
Tue, 30 May 2023 07:56:49 +0000 (15:56 +0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 16:27:11 +0000 (09:27 -0700)
commitd49d1666aab51ad3caf79f414aff6b641837a6ea
tree79fc9350156052c56cf6a9c0a6739521a15908fe
parentff9a6459bbec06df7da2545020d7383aba13b3fb
tools: Remove unnecessary variables

There are several places where warnings variables are not needed,
remove them and directly return 0.

Signed-off-by: Lu Hongfei <luhongfei@vivo.com>
Link: https://lore.kernel.org/r/20230530075649.21661-1-luhongfei@vivo.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/check.c