summaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/efi/efi_driver.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/interface/efi/efi_driver.c b/src/interface/efi/efi_driver.c
index 22aa3ee7..2cefed2f 100644
--- a/src/interface/efi/efi_driver.c
+++ b/src/interface/efi/efi_driver.c
@@ -497,14 +497,16 @@ static int efi_driver_handles ( int ( * method ) ( EFI_HANDLE handle ) ) {
/* Connect/disconnect driver from all handles */
for ( i = 0 ; i < num_handles ; i++ ) {
- if ( ( rc = method ( handles[i] ) ) != 0 )
- goto err_method;
+ if ( ( rc = method ( handles[i] ) ) != 0 ) {
+ /* Ignore errors and continue to process
+ * remaining handles.
+ */
+ }
}
/* Success */
rc = 0;
- err_method:
bs->FreePool ( handles );
err_locate:
return rc;