From cb880b72578c9501710dacf74f2683ea8cfd8a51 Mon Sep 17 00:00:00 2001 From: Neil Berkman Date: Wed, 18 Mar 2026 00:42:13 -0700 Subject: [PATCH] boot/nxboot: remove unused header variable The header variable in nxboot_perform_update() is no longer used after validate_image() was changed to take only the fd. Signed-off-by: Neil Berkman --- boot/nxboot/loader/boot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/boot/nxboot/loader/boot.c b/boot/nxboot/loader/boot.c index 703148754..c4f936d23 100644 --- a/boot/nxboot/loader/boot.c +++ b/boot/nxboot/loader/boot.c @@ -887,7 +887,6 @@ int nxboot_perform_update(bool check_only) int ret; int primary; struct nxboot_state state; - struct nxboot_img_header header; ret = nxboot_get_state(&state); if (ret < 0)