Skip to content

Commit

Permalink
Revert "PcAtChipsetPkg: add debugging in PcatRealTimeClockRuntimeDxe"
Browse files Browse the repository at this point in the history
This reverts commit 4de103b.
  • Loading branch information
pietrushnic committed Jul 14, 2017
1 parent b52caff commit 04137df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,12 @@ PcRtcInit (
BOOLEAN Enabled;
BOOLEAN Pending;

DEBUG ((EFI_D_INFO, "PcRtcInit: %d\n", __LINE__));
//
// Acquire RTC Lock to make access to RTC atomic
//
if (!EfiAtRuntime ()) {
EfiAcquireLock (&Global->RtcLock);
}
DEBUG ((EFI_D_INFO, "PcRtcInit: %d\n", __LINE__));
//
// Initialize RTC Register
//
Expand Down Expand Up @@ -162,7 +160,6 @@ PcRtcInit (
if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock);
}
DEBUG ((EFI_D_INFO, "PcRtcInit: %d\n", __LINE__));
return EFI_DEVICE_ERROR;
}
//
Expand Down Expand Up @@ -240,7 +237,6 @@ PcRtcInit (
//
Status = PcRtcSetTime (&Time, Global);
if (EFI_ERROR (Status)) {
DEBUG ((EFI_D_INFO, "PcRtcInit: %d\n", __LINE__));
return EFI_DEVICE_ERROR;
}

Expand Down Expand Up @@ -282,7 +278,6 @@ PcRtcInit (
if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock);
}
DEBUG ((EFI_D_INFO, "PcRtcInit: %d\n", __LINE__));
return EFI_DEVICE_ERROR;
}

Expand All @@ -302,7 +297,6 @@ PcRtcInit (
if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock);
}
DEBUG ((EFI_D_INFO, "PcRtcInit: %d\n", __LINE__));
return EFI_DEVICE_ERROR;
}

Expand Down
5 changes: 0 additions & 5 deletions PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,7 @@ InitializePcRtc (
EfiInitializeLock (&mModuleGlobal.RtcLock, TPL_CALLBACK);
mModuleGlobal.CenturyRtcAddress = GetCenturyRtcAddress ();

DEBUG ((EFI_D_INFO, "InitializePcRtc: %d\n", __LINE__));

Status = PcRtcInit (&mModuleGlobal);

DEBUG ((EFI_D_INFO, "InitializePcRtc: %d\n", __LINE__));
DEBUG ((EFI_D_INFO, "Status: %r\n", Status));
ASSERT_EFI_ERROR (Status);

Status = gBS->CreateEventEx (
Expand Down

0 comments on commit 04137df

Please sign in to comment.