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

Torben Hohn torben.hohn at linutronix.de
Fri Sep 21 11:14:21 CEST 2018


On Fri, Sep 14, 2018 at 01:56:32PM +0200, Manuel Traut wrote:
> Signed-off-by: Manuel Traut <manut at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn 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
> 

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180921/12b4ef93/attachment.sig>


More information about the elbe-devel mailing list