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 <neil@xuku.com>
This commit is contained in:
Neil Berkman 2026-03-18 00:42:13 -07:00 committed by Michal Lenc
parent 83af0a011e
commit cb880b7257

View file

@ -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)