diff mbox series

[v2,02/13] gen_initramfs_list.sh: remove unused variable 'default_list'

Message ID 20200104150238.19834-3-masahiroy@kernel.org (mailing list archive)
State New, archived
Headers show
Series initramfs: a lot of cleanups | expand

Commit Message

Masahiro Yamada Jan. 4, 2020, 3:02 p.m. UTC
This is assigned, but not referenced.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

Changes in v2: None

 usr/gen_initramfs_list.sh | 1 -
 1 file changed, 1 deletion(-)

Comments

Greg Thelen Jan. 6, 2020, 7:34 a.m. UTC | #1
Masahiro Yamada <masahiroy@kernel.org> wrote:

> This is assigned, but not referenced.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Reviewed-by: Greg Thelen <gthelen@google.com>
diff mbox series

Patch

diff --git a/usr/gen_initramfs_list.sh b/usr/gen_initramfs_list.sh
index 2bbac73e6477..909a7b865aa7 100755
--- a/usr/gen_initramfs_list.sh
+++ b/usr/gen_initramfs_list.sh
@@ -280,7 +280,6 @@  while [ $# -gt 0 ]; do
 			shift
 			;;
 		"-d")	# display default initramfs list
-			default_list="$arg"
 			${dep_list}default_initramfs
 			;;
 		"-h")