mirror of https://github.com/acidanthera/audk.git
OvmfPkg: Remove superfluous return statements.
If the code eventually returns "Status" anyway, it does not make sense to explicitely return "Status" in case of an error, too. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
266746561d
commit
19ca06bb84
|
@ -77,9 +77,6 @@ GetNvVarsFile (
|
|||
),
|
||||
0
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
|
@ -1075,9 +1075,6 @@ XenStoreInit (
|
|||
|
||||
/* Initialize the shared memory rings to talk to xenstored */
|
||||
Status = XenStoreInitComms (&xs);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue