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>
This commit is contained in:
Bjorn Helgaas 2018-01-30 12:12:53 -06:00 committed by Bjorn Helgaas
parent f784c41f9c
commit 716f0f732f
1 changed files with 1 additions and 7 deletions

View File

@ -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;