summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Bus
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg/Bus')
-rw-r--r--EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c1
-rw-r--r--EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c
index 1d01ba798f..3c94c87d6f 100644
--- a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c
+++ b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c
@@ -67,7 +67,6 @@ ATAIdentify (
// use ATA PIO Data In protocol to send ATA Identify command
// and receive data from device
//
- DeviceSelect = 0;
DeviceSelect = (UINT8) ((IdeDev->Device) << 4);
Status = AtaPioDataIn (
IdeDev,
diff --git a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c
index 93f7081516..27f7f999fa 100644
--- a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c
+++ b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c
@@ -1,5 +1,5 @@
/** @file
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -235,7 +235,6 @@ ATAPIIdentify (
//
// device select bit
//
- DeviceSelect = 0;
DeviceSelect = (UINT8) ((IdeDev->Device) << 4);
AtapiIdentifyPointer = AllocatePool (sizeof (EFI_IDENTIFY_DATA));