[elbe-devel] [PATCH 17/25] pylint - hdimg: remove unused parameter rfs

Manuel Traut manut at linutronix.de
Wed Aug 29 21:02:47 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 b3714a93..843c5f85 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.18.0




More information about the elbe-devel mailing list