Commit e59e5ff9 authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: xilinx: Removed unused xilinx_pcie_assign_msi() argument

xilinx_pcie_assign_msi() doesn't use the struct xilinx_pcie_port pointer
passed to it, so remove the argument completely.  No functional change
intended.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 6a6c2e8a
...@@ -229,11 +229,10 @@ static void xilinx_pcie_destroy_msi(unsigned int irq) ...@@ -229,11 +229,10 @@ static void xilinx_pcie_destroy_msi(unsigned int irq)
/** /**
* xilinx_pcie_assign_msi - Allocate MSI number * xilinx_pcie_assign_msi - Allocate MSI number
* @port: PCIe port structure
* *
* Return: A valid IRQ on success and error value on failure. * Return: A valid IRQ on success and error value on failure.
*/ */
static int xilinx_pcie_assign_msi(struct xilinx_pcie_port *port) static int xilinx_pcie_assign_msi(void)
{ {
int pos; int pos;
...@@ -276,7 +275,7 @@ static int xilinx_pcie_msi_setup_irq(struct msi_controller *chip, ...@@ -276,7 +275,7 @@ static int xilinx_pcie_msi_setup_irq(struct msi_controller *chip,
struct msi_msg msg; struct msi_msg msg;
phys_addr_t msg_addr; phys_addr_t msg_addr;
hwirq = xilinx_pcie_assign_msi(port); hwirq = xilinx_pcie_assign_msi();
if (hwirq < 0) if (hwirq < 0)
return hwirq; return hwirq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment