diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 23:22:42 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 23:22:42 +0100 |
commit | 2f0d0fd2a605666d38e290c5c0d2907484352dc4 (patch) | |
tree | 43710e4dbd804be7f17ff6adc919b721d5565a97 /include | |
parent | 8b803bd184e3f6892284d4b50801b9ec85cd9b96 (diff) | |
download | op-kernel-dev-2f0d0fd2a605666d38e290c5c0d2907484352dc4.zip op-kernel-dev-2f0d0fd2a605666d38e290c5c0d2907484352dc4.tar.gz |
ide-acpi: cleanup do_drive_get_GTF()
* ide_noacpi is already checked by ide_acpi_exec_tfs()
which is the only user of do_drive_get_GTF().
* ide_acpi_exec_tfs() prints sufficient debug info about the
device so no need to have excessive data about port/host.
* It is sufficient to check for drive->acpidata->obj_handle
as it will be NULL if dev == NULL or hwif->acpidata == NULL
or device is not present.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions