PCI: pcie portdrv: remove unused variable

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 8:00 am

Gitweb:     http://git.kernel.org/linus/9965976a38f66fc170fc0528b3115bf1a8a58b0a
Commit:     9965976a38f66fc170fc0528b3115bf1a8a58b0a
Parent:     0baed8da1ed91b664759f6c7f955b3a804457389
Author:     Jesse Barnes <jbarnes@virtuousgeek.org>
AuthorDate: Fri Sep 11 08:46:07 2009 -0700
Committer:  Jesse Barnes <jbarnes@virtuousgeek.org>
CommitDate: Fri Sep 11 08:46:07 2009 -0700

    PCI: pcie portdrv: remove unused variable
    
    Remove unused port_data variable left over from the MCH hotplug quirk
    cleanup.
    
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/pci/pcie/portdrv_core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index af9bca3..52f84fc 100644
--- a/drivers/pci/pcie/portdrv_core.c
+++ b/drivers/pci/pcie/portdrv_core.c
@@ -187,7 +187,6 @@ static int pcie_port_enable_msix(struct pci_dev *dev, int *vectors, int mask)
  */
 static int assign_interrupt_mode(struct pci_dev *dev, int *vectors, int mask)
 {
-	struct pcie_port_data *port_data = pci_get_drvdata(dev);
 	int irq, interrupt_mode = PCIE_PORT_NO_IRQ;
 	int i;
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PCI: pcie portdrv: remove unused variable, Linux Kernel Mailing ..., (Wed Sep 16, 8:00 am)