diff options
author | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-29 03:42:03 +0000 |
---|---|---|
committer | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-29 03:42:03 +0000 |
commit | 4b2e068430507d4ba1ec330e1665b8d7b45771ac (patch) | |
tree | a48d4106b11aeac158414b40a306ff23a6c98019 /EdkModulePkg/Bus | |
parent | 0f6b6f755b09f5bb386bb41fa21cc75f58a624d2 (diff) | |
download | edk2-4b2e068430507d4ba1ec330e1665b8d7b45771ac.zip edk2-4b2e068430507d4ba1ec330e1665b8d7b45771ac.tar.gz edk2-4b2e068430507d4ba1ec330e1665b8d7b45771ac.tar.bz2 |
[Source] Useless assigning statement in ata and atapi
NT32, WinNT GOP PixelFormat should be BltOnly
NT32, SimpleTxtIn should add F11, F12 support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2511 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Bus')
-rw-r--r-- | EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c | 1 | ||||
-rw-r--r-- | EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c | 3 |
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 1d01ba7..3c94c87 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 93f7081..27f7f99 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));
|