summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-10 04:42:10 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-10 04:42:10 +0000
commit3a5dcc063cd56c8a46703888a3ac51954a37df19 (patch)
tree5149b87bc210263c98bb6dfba76f4c8020aa64f0
parenta682ecebfef53187fb44f8ff8bdc34c1d33e35f6 (diff)
downloadedk2-3a5dcc063cd56c8a46703888a3ac51954a37df19.zip
edk2-3a5dcc063cd56c8a46703888a3ac51954a37df19.tar.gz
edk2-3a5dcc063cd56c8a46703888a3ac51954a37df19.tar.bz2
Removed unnecessary MSR access in InternalX86Delay()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1228 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
index e3af546..a656a80 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
//