[PATCH 4/7] fastboot: drop useless bootm.image clobber

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clobbering bootm.image before a fastboot boot is not useful, because no
code would look at bootm.image anyway.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 common/fastboot.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/fastboot.c b/common/fastboot.c
index acc91490a553..60bef0ec776b 100644
--- a/common/fastboot.c
+++ b/common/fastboot.c
@@ -419,8 +419,6 @@ static void __maybe_unused cb_boot(struct fastboot *fb, const char *opt)
 
 	fastboot_tx_print(fb, FASTBOOT_MSG_INFO, "Booting kernel..\n");
 
-	globalvar_set("bootm.image", "");
-
 	data.os_file = fb->tempname;
 
 	ret = bootm_boot(&data);
-- 
2.39.5





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux