[PATCH 26/58] buildman: Drop some unnecessary variables

Simon Glass sjg at chromium.org
Sun Jul 2 16:25:51 CEST 2023


Drop some variables at the end of the do_bulidman() function.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/buildman/control.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index 3c5b7128bf20..db8377e9ac42 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -607,9 +607,5 @@ def do_buildman(options, args, toolchains=None, make_func=None, brds=None,
 
     TEST_BUILDER = builder
 
-    # Work out which boards to build
-    board_selected = brds.get_selected_dict()
-
-    commits = series.commits if series else None
-    retval = run_builder(builder, commits, board_selected, options)
-    return retval
+    return run_builder(builder, series.commits if series else None,
+                       brds.get_selected_dict(), options)
-- 
2.41.0.255.g8b1d071c50-goog



More information about the U-Boot mailing list