From b77d0076f9379fc82499408d52eee702d2b29599 Mon Sep 17 00:00:00 2001 From: jji4 Date: Thu, 15 Jan 2009 03:30:05 +0000 Subject: Coding style checked git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7281 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 +- MdeModulePkg/Universal/Variable/Pei/Variable.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c index 18ed9f006d..88faa0e654 100644 --- a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -143,7 +143,7 @@ PcRtcInit ( // Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout)); 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 if (!EfiAtRuntime ()) { EfiReleaseLock (&Global->RtcLock); diff --git a/MdeModulePkg/Universal/Variable/Pei/Variable.c b/MdeModulePkg/Universal/Variable/Pei/Variable.c index a8132d6eaa..d778fde073 100644 --- a/MdeModulePkg/Universal/Variable/Pei/Variable.c +++ b/MdeModulePkg/Universal/Variable/Pei/Variable.c @@ -367,7 +367,7 @@ FindVariable ( UINT32 Count; UINT8 *VariableBase; - if (VariableName != 0 && VendorGuid == NULL) { + if (VariableName != NULL && VendorGuid == NULL) { return EFI_INVALID_PARAMETER; } // -- cgit v1.2.3