From: bxing Date: Thu, 10 Aug 2006 04:42:10 +0000 (+0000) Subject: Removed unnecessary MSR access in InternalX86Delay() X-Git-Tag: edk2-stable201903~24645 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=3a5dcc063cd56c8a46703888a3ac51954a37df19 Removed unnecessary MSR access in InternalX86Delay() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1228 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c index e3af546367..a656a80c4c 100644 --- a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c +++ b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c @@ -115,8 +115,6 @@ InternalX86Delay ( { INT32 Ticks; - ApicBase = InternalX86GetApicBase (); - // // The target timer count is calculated here //