mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
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
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user