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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux