PCI/DPC: Push dpc->rp_pio_status assignment into dpc_rp_pio_get_info()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jan 2018 18:12:43 +0000 (12:12 -0600)
committerBjorn Helgaas <helgaas@kernel.org>
Tue, 30 Jan 2018 21:26:09 +0000 (15:26 -0600)
commitf5ec5a0737afd28416a5b45b4ffe0465920baec7
tree349601c21e71168288d717737438bcc502496e66
parenta88b304e6164199ca98f76a49faedc85f0b3cc49
PCI/DPC: Push dpc->rp_pio_status assignment into dpc_rp_pio_get_info()

Move the dpc->rp_pio_status assignment into dpc_rp_pio_get_info() since
that's where we read rp_pio->status anway.  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>
drivers/pci/pcie/pcie-dpc.c