projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30efb5d
)
efi_loader: unnecessary assignment in efi_queue_event
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 6 Mar 2020 20:56:10 +0000
(21:56 +0100)
committer
Heinrich 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
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index 1f598b357a5c97e4b0dfa134ad9b7190231008b7..e533a185f8bc2a525b9730c3ab91fb53fdf302a0 100644
(file)
--- 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;