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:
committed by
Laszlo Ersek
parent
266746561d
commit
19ca06bb84
@@ -77,9 +77,6 @@ GetNvVarsFile (
|
|||||||
),
|
),
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
|
||||||
return Status;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@@ -1075,9 +1075,6 @@ XenStoreInit (
|
|||||||
|
|
||||||
/* Initialize the shared memory rings to talk to xenstored */
|
/* Initialize the shared memory rings to talk to xenstored */
|
||||||
Status = XenStoreInitComms (&xs);
|
Status = XenStoreInitComms (&xs);
|
||||||
if (EFI_ERROR (Status)) {
|
|
||||||
return Status;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user