[x86_64] remove unused variable from drivers/ata/ahci.c

From: Michael Kühn
Date: Fri Dec 14 2007 - 18:13:00 EST


Hi,

my first kernel patch, yay. :-)

On the file drivers/ata/ahci.c in line 1433 is declared a variable that
is never used in the function. I removed it.

Patch is in attachments (based on 2.6.23.10).
--- 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;