diff mbox series

[7/7] devtool: remove unused 'config' param from '_create_workspace' method

Message ID 20250112145359.607585-8-chris.laplante@agilent.com
State New
Headers show
Series De-globalization of 'devtool' | expand

Commit Message

chris.laplante@agilent.com Jan. 12, 2025, 2:53 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 scripts/devtool | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/scripts/devtool b/scripts/devtool
index 1994d4b507..ebd3e4c11b 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -95,7 +95,7 @@  def read_workspace(basepath, context):
             sys.exit(1)
         else:
             logger.info('Creating workspace layer in %s' % context.config.workspace_path)
-            _create_workspace(context.config.workspace_path, context.config, basepath)
+            _create_workspace(context.config.workspace_path, basepath)
     if not context.fixed_setup:
         _enable_workspace_layer(context.config.workspace_path, context.config, basepath)
 
@@ -134,7 +134,7 @@  def read_workspace(basepath, context):
 
     return workspace
 
-def create_workspace(args, config, basepath, workspace):
+def create_workspace(args, config, basepath, _workspace):
     if args.layerpath:
         workspacedir = os.path.abspath(args.layerpath)
     else:
@@ -142,11 +142,11 @@  def create_workspace(args, config, basepath, workspace):
     layerseries = None
     if args.layerseries:
         layerseries = args.layerseries
-    _create_workspace(workspacedir, config, basepath, layerseries)
+    _create_workspace(workspacedir, basepath, layerseries)
     if not args.create_only:
         _enable_workspace_layer(workspacedir, config, basepath)
 
-def _create_workspace(workspacedir, config, basepath, layerseries=None):
+def _create_workspace(workspacedir, basepath, layerseries=None):
     import bb.utils
 
     confdir = os.path.join(workspacedir, 'conf')