Re: [PATCH 13/13] drivers/ata: removing redundant ifdef

From: Jeff Garzik
Date: Fri May 14 2010 - 17:32:15 EST


On 05/06/2010 01:36 PM, Jiri Olsa wrote:
wbr,
jirka


Signed-off-by: Jiri Olsa<jolsa@xxxxxxxxxx>
---
drivers/ata/ahci.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 8b502f4..5326af2 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -3179,7 +3179,6 @@ static bool ahci_broken_online(struct pci_dev *pdev)
#ifdef CONFIG_ATA_ACPI
static void ahci_gtf_filter_workaround(struct ata_host *host)
{
-#ifdef CONFIG_ATA_ACPI
static const struct dmi_system_id sysids[] = {
/*
* Aspire 3810T issues a bunch of SATA enable commands
@@ -3220,7 +3219,6 @@ static void ahci_gtf_filter_workaround(struct ata_host *host)
ata_for_each_dev(dev, link, ALL)
dev->gtf_filter |= filter;
}
-#endif
}

I don't see this in the linux-next version of ahci.c, so I'm dropping this patch.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/