[elbe-devel] [PATCH 20/40] pylint: hdimg - remove unused parameter rfs

Manuel Traut manut at linutronix.de
Fri Sep 14 13:56:32 CEST 2018


Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/hdimg.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py
index 9604ca79..058e201f 100644
--- a/elbepack/hdimg.py
+++ b/elbepack/hdimg.py
@@ -19,7 +19,7 @@ from elbepack.asciidoclog import CommandError
 from elbepack.filesystem import size_to_int
 
 
-def mkfs_mtd(outf, mtd, fslabel, rfs, target):
+def mkfs_mtd(outf, mtd, fslabel, target):
 
     # generated files
     img_files = []
@@ -640,7 +640,7 @@ def do_hdimg(outf, xml, target, rfs, grub_version, grub_fw_type=None):
                 img_files.append(img)
 
             if i.tag == "mtd":
-                imgs = mkfs_mtd(outf, i, fslabel, rfs, target)
+                imgs = mkfs_mtd(outf, i, fslabel, target)
                 img_files.extend(imgs)
     finally:
         # Put back the filesystems into /target
-- 
2.19.0.rc2




More information about the elbe-devel mailing list