summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-06 21:56:10 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-03-11 08:23:05 +0100
commit2b8568f461188e8bd14ebe9b6968c56baca7b142 (patch)
tree1d54c4f6e4ec8ae787fad20c4868d14efeb40609 /lib
parent30efb5dd43fdeb6173c61a55b537fcfba2c45f3f (diff)
efi_loader: unnecessary assignment in efi_queue_event
The assigned value NULL is never used. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 1 insertions, 1 deletions
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;