]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: unnecessary assignment in efi_queue_event
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 6 Mar 2020 20:56:10 +0000 (21:56 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 11 Mar 2020 07:23:05 +0000 (08:23 +0100)
The assigned value NULL is never used.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c

index 1f598b357a5c97e4b0dfa134ad9b7190231008b7..e533a185f8bc2a525b9730c3ab91fb53fdf302a0 100644 (file)
@@ -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;