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:
parent
f784c41f9c
commit
716f0f732f
|
@ -122,7 +122,7 @@ static void dpc_work(struct work_struct *work)
|
||||||
ctl | PCI_EXP_DPC_CTL_INT_EN);
|
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 device *dev = &dpc->dev->device;
|
||||||
struct pci_dev *pdev = dpc->dev->port;
|
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)
|
static irqreturn_t dpc_irq(int irq, void *context)
|
||||||
{
|
{
|
||||||
struct dpc_dev *dpc = (struct dpc_dev *)context;
|
struct dpc_dev *dpc = (struct dpc_dev *)context;
|
||||||
|
|
Loading…
Reference in New Issue