[PATCH v3 45/81] buildman: Drop some unnecessary variables

Simon Glass sjg at chromium.org
Sun Jul 16 02:36:13 CEST 2023


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

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

(no changes since v1)

 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 9f775cb15df4..f30b8beae829 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -616,9 +616,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.455.g037347b96a-goog



More information about the U-Boot mailing list