commit | ec946907e70e8f0dcc82f5654b16a38514d74f6a | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Mar 06 21:56:10 2020 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Mar 11 08:23:05 2020 +0100 |
tree | 1d54c4f6e4ec8ae787fad20c4868d14efeb40609 | |
parent | 3be0bda694f5068445687e18af3699836be2d945 [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>
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 1f598b3..e533a18 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c
@@ -208,7 +208,7 @@ */ static void efi_queue_event(struct efi_event *event) { - struct efi_event *item = NULL; + struct efi_event *item; if (!event->notify_function) return;