Coding style checked

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7281 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4 2009-01-15 03:30:05 +00:00
parent 649e72d617
commit b77d0076f9
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ PcRtcInit (
// //
Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout)); Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout));
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
//BugBug: the EfiAtRuntime should be encapsulated in EfiAcquireLock or //BugBug: the EfiAtRuntime should be encapsulated in EfiAcquireLock or
// provide a new instance for EfiAcquireLock, say, RtEfiAcquireLock // provide a new instance for EfiAcquireLock, say, RtEfiAcquireLock
if (!EfiAtRuntime ()) { if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock); EfiReleaseLock (&Global->RtcLock);

View File

@ -367,7 +367,7 @@ FindVariable (
UINT32 Count; UINT32 Count;
UINT8 *VariableBase; UINT8 *VariableBase;
if (VariableName != 0 && VendorGuid == NULL) { if (VariableName != NULL && VendorGuid == NULL) {
return EFI_INVALID_PARAMETER; return EFI_INVALID_PARAMETER;
} }
// //