mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
util/nvmutil: remove unnecessary checck
the for loop exits when setting cmd checking for NULL is pointless Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -273,8 +273,6 @@ set_cmd(int argc, char *argv[])
|
||||
}
|
||||
|
||||
for (i = 0; i < items(command); i++) {
|
||||
if (cmd != NULL)
|
||||
break;
|
||||
if (strcmp(argv[2], command[i].str) != 0)
|
||||
continue;
|
||||
if (argc >= command[i].args) {
|
||||
|
||||
Reference in New Issue
Block a user