]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/IdeBus/Dxe/ata.c
[Source] Useless assigning statement in ata and atapi
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / IdeBus / Dxe / ata.c
index 1d01ba798f38203afe0fc0d19c0e4c9cf3eb0484..3c94c87d6f191f5d7ec6ab487a20de0b8878750b 100644 (file)
@@ -67,7 +67,6 @@ ATAIdentify (
   //  use ATA PIO Data In protocol to send ATA Identify command\r
   //  and receive data from device\r
   //\r
-  DeviceSelect  = 0;\r
   DeviceSelect  = (UINT8) ((IdeDev->Device) << 4);\r
   Status = AtaPioDataIn (\r
             IdeDev,\r