]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/IdeBus/Dxe/atapi.c
[Source] Useless assigning statement in ata and atapi
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / IdeBus / Dxe / atapi.c
index 93f7081516172a3fa7c0b9810eb602d988f6d443..27f7f999fa407ebe28e9b5e60877774f1327d099 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Copyright (c) 2006, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -235,7 +235,6 @@ ATAPIIdentify (
   //\r
   // device select bit\r
   //\r
-  DeviceSelect          = 0;\r
   DeviceSelect          = (UINT8) ((IdeDev->Device) << 4);\r
 \r
   AtapiIdentifyPointer  = AllocatePool (sizeof (EFI_IDENTIFY_DATA));\r