summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-01-30 12:12:53 -0600
committerBjorn Helgaas <helgaas@kernel.org>2018-01-30 15:26:20 -0600
commit716f0f732ff9eedcf31ff887a4ac7be3ac9bc1c0 (patch)
treec053740e3b0ea4fe7a7a8e2d38e937906bd2d711 /drivers/pci
parentf784c41f9c764bcbccd4b48330bf01a82d8eae8e (diff)
PCI/DPC: Squash dpc_rp_pio_get_info() into dpc_process_rp_pio_error()
dpc_process_rp_pio_error() only calls dpc_rp_pio_get_info(), so squash them together. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sinan Kaya <okaya@codeaurora.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/pcie-dpc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c
index 468440e8fb6f..0f4eb6111ab4 100644
--- a/drivers/pci/pcie/pcie-dpc.c
+++ b/drivers/pci/pcie/pcie-dpc.c
@@ -122,7 +122,7 @@ static void dpc_work(struct work_struct *work)
ctl | PCI_EXP_DPC_CTL_INT_EN);
}
-static void dpc_rp_pio_get_info(struct dpc_dev *dpc)
+static void dpc_process_rp_pio_error(struct dpc_dev *dpc)
{
struct device *dev = &dpc->dev->device;
struct pci_dev *pdev = dpc->dev->port;
@@ -179,12 +179,6 @@ static void dpc_rp_pio_get_info(struct dpc_dev *dpc)
}
}
-static void dpc_process_rp_pio_error(struct dpc_dev *dpc)
-{
- dpc_rp_pio_get_info(dpc);
-
-}
-
static irqreturn_t dpc_irq(int irq, void *context)
{
struct dpc_dev *dpc = (struct dpc_dev *)context;