projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1902a25
)
ide-acpi: no need to zero ->acpidata for devices
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000
(23:22 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000
(23:22 +0100)
ide_acpi_init() takes care of it.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-acpi.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-acpi.c
b/drivers/ide/ide-acpi.c
index ec7d07fa570a8ab706f06b1ed6c6d506ed86b011..0ac5c786a3161f18a2e8c100071b1a407d9154c1 100644
(file)
--- a/
drivers/ide/ide-acpi.c
+++ b/
drivers/ide/ide-acpi.c
@@
-712,8
+712,6
@@
void ide_acpi_port_init_devices(ide_hwif_t *hwif)
* Send IDENTIFY for each drive
*/
ide_port_for_each_dev(i, drive, hwif) {
- memset(drive->acpidata, 0, sizeof(*drive->acpidata));
-
if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0)
continue;