From: Heinrich Schuchardt Date: Fri, 6 Mar 2020 20:56:10 +0000 (+0100) Subject: efi_loader: unnecessary assignment in efi_queue_event X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2b8568f461188e8bd14ebe9b6968c56baca7b142;p=u-boot.git efi_loader: unnecessary assignment in efi_queue_event The assigned value NULL is never used. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 1f598b357a..e533a185f8 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -208,7 +208,7 @@ static void efi_process_event_queue(void) */ static void efi_queue_event(struct efi_event *event) { - struct efi_event *item = NULL; + struct efi_event *item; if (!event->notify_function) return;