mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
efi_loader: don't increment part twice per loop
Correct a mistake in the part number handling of commit
16a73b249d
and only increment part once
per loop.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
984f251fee
commit
bcbc4a8046
1 changed files with 0 additions and 1 deletions
|
@ -360,7 +360,6 @@ int efi_disk_register(void)
|
|||
continue;
|
||||
efi_disk_add_dev(devname, if_typename, desc,
|
||||
i, 0, part);
|
||||
part++;
|
||||
}
|
||||
|
||||
/* ... and add block device: */
|
||||
|
|
Loading…
Reference in a new issue