mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxd_make_fit_image: drop unused model variables
@ 2021-04-01  9:22 Bastian Krause
  2021-04-09 13:33 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bastian Krause @ 2021-04-01  9:22 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause, sha

These variables were introduced when ptxd_make-fit-image.sh was
introduced in 0cfba65d1 ("image-kernel-fit: Add package"). They were
never used, so drop them.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 scripts/lib/ptxd_make_fit_image.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/lib/ptxd_make_fit_image.sh b/scripts/lib/ptxd_make_fit_image.sh
index af535665d..dd0f63b7b 100644
--- a/scripts/lib/ptxd_make_fit_image.sh
+++ b/scripts/lib/ptxd_make_fit_image.sh
@@ -7,7 +7,7 @@
 #
 
 ptxd_make_image_fit_its() {
-    local model compatible
+    local compatible
 
     cat << EOF
 /dts-v1/;
@@ -55,7 +55,6 @@ EOF
 EOF
     fi
     for i in ${image_dtb}; do
-	model=$(fdtget "${i}" / model)
 	compatible=$(set -- $(fdtget "${i}" / compatible); echo ${1})
 	cat << EOF
 		fdt-${compatible} {
@@ -74,7 +73,6 @@ EOF
 	configurations {
 EOF
     for i in ${image_dtb}; do
-	model=$(fdtget "${i}" / model)
 	compatible=$(set -- $(fdtget "${i}" / compatible); echo ${1})
 	cat << EOF
 		conf-${compatible} {
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] ptxd_make_fit_image: drop unused model variables
  2021-04-01  9:22 [ptxdist] [PATCH] ptxd_make_fit_image: drop unused model variables Bastian Krause
@ 2021-04-09 13:33 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-04-09 13:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Thanks, applied as c7f6ecbc0e2c5c0b50c2c73c3fc8ae58ca591918.

Michael

[sent from post-receive hook]

On Fri, 09 Apr 2021 15:33:21 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> These variables were introduced when ptxd_make-fit-image.sh was
> introduced in 0cfba65d1 ("image-kernel-fit: Add package"). They were
> never used, so drop them.
> 
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20210401092206.6068-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/scripts/lib/ptxd_make_fit_image.sh b/scripts/lib/ptxd_make_fit_image.sh
> index af535665d7b2..dd0f63b7b72d 100644
> --- a/scripts/lib/ptxd_make_fit_image.sh
> +++ b/scripts/lib/ptxd_make_fit_image.sh
> @@ -7,7 +7,7 @@
>  #
>  
>  ptxd_make_image_fit_its() {
> -    local model compatible
> +    local compatible
>  
>      cat << EOF
>  /dts-v1/;
> @@ -55,7 +55,6 @@ EOF
>  EOF
>      fi
>      for i in ${image_dtb}; do
> -	model=$(fdtget "${i}" / model)
>  	compatible=$(set -- $(fdtget "${i}" / compatible); echo ${1})
>  	cat << EOF
>  		fdt-${compatible} {
> @@ -74,7 +73,6 @@ EOF
>  	configurations {
>  EOF
>      for i in ${image_dtb}; do
> -	model=$(fdtget "${i}" / model)
>  	compatible=$(set -- $(fdtget "${i}" / compatible); echo ${1})
>  	cat << EOF
>  		conf-${compatible} {

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-09 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01  9:22 [ptxdist] [PATCH] ptxd_make_fit_image: drop unused model variables Bastian Krause
2021-04-09 13:33 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox