Michael Kühn wrote:
This patch remove a unused variable in the ahci_port_intr function and therewith a compiler warning. Signed-off-by: Michael Kühn <breiteseite1337@xxxxxxxxxxxxxx> --- linux-2.6.23.10/drivers/ata/ahci.c 2007-12-14 19:01:59.000000000 +0100 +++ linux-2.6.23.10.new/drivers/ata/ahci.c 2007-12-15 01:03:41.000000000 +0100 @@ -1430,7 +1430,6 @@ { void __iomem *port_mmio = ap->ioaddr.cmd_addr; struct ata_eh_info *ehi = &ap->eh_info; - struct ahci_port_priv *pp = ap->private_data; u32 status, qc_active; int rc;
.. Mmmm.. seems to not be applicable to current 2.6.24-rc*, as the "pp" variable *is* used in that function there. For older kernels, only serious bugs warrant an update. Cheers - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html