]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Drop some unnecessary variables
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:48:55 +0000 (17:48 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:11 +0000 (09:34 -0600)
Drop some variables at the end of the do_bulidman() function.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/control.py

index 9f775cb15df49cf95692bc6ae507e5ae1e51f747..f30b8beae8298b11b6b6d7fd90ac9e15b7461202 100644 (file)
@@ -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)