From: Bartlomiej Zolnierkiewicz Date: Tue, 24 Mar 2009 22:22:42 +0000 (+0100) Subject: ide-acpi: cleanup do_drive_get_GTF() X-Git-Tag: v2.6.30-rc1~672^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f0d0fd2a605666d38e290c5c0d2907484352dc4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed