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:
Thomas Huth 2017-01-19 10:17:37 +01:00 committed by Laszlo Ersek
parent 266746561d
commit 19ca06bb84
2 changed files with 0 additions and 6 deletions

View File

@ -77,9 +77,6 @@ GetNvVarsFile (
),
0
);
if (EFI_ERROR (Status)) {
return Status;
}
return Status;
}

View File

@ -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;
}