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

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

 



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;
 

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux