[Concept,05/29] buildman: Remove unused variables from builder.py

Message ID 20260106220403.2915630-6-sjg@u-boot.org
State New
Headers
Series buildman: Clean up builder.py |

Commit Message

Simon Glass Jan. 6, 2026, 10:03 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

Remove two unused 'col' variables:
- In process_result(): col was created but self.col was used instead
- In get_result_summary(): col was set to None but never used

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 tools/buildman/builder.py | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index 7582f178e8c..5a31f9aba19 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -559,7 +559,6 @@  class Builder:
             result: A CommandResult object, which indicates the result for
                     a single build
         """
-        col = terminal.Color()
         if result:
             target = result.brd.target
 
@@ -1173,7 +1172,6 @@  class Builder:
                     # Loop through the text, data, bss parts
                     for part in sorted(sizes[image]):
                         diff = sizes[image][part] - base_image[part]
-                        col = None
                         if diff:
                             if image == 'u-boot':
                                 name = part