diff --git a/tools/releasetools/add_img_to_target_files.py b/tools/releasetools/add_img_to_target_files.py index 0b8f3a0d36..2b7aee452b 100755 --- a/tools/releasetools/add_img_to_target_files.py +++ b/tools/releasetools/add_img_to_target_files.py @@ -404,7 +404,6 @@ def AddImagesToTargetFiles(filename): images_dir = None has_recovery = (OPTIONS.info_dict.get("no_recovery") != "true") - system_root_image = (OPTIONS.info_dict.get("system_root_image", None) == "true") def banner(s): print("\n\n++++ " + s + " ++++\n\n")