]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/DPC: Remove unnecessary RP PIO register structs
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jan 2018 18:12:48 +0000 (12:12 -0600)
committerBjorn Helgaas <helgaas@kernel.org>
Tue, 30 Jan 2018 21:26:15 +0000 (15:26 -0600)
commitfe41ce9534495dc53be93961c23abbc83b75a976
treed4cbaeed57b46233f9a0038a6e0b20450a1e9eb2
parentd78ee316caecd49eaa398cd1b22a8fe2cea17cc6
PCI/DPC: Remove unnecessary RP PIO register structs

We read and immediately print the RP PIO log registers.  We don't save
them, so there's no need to define structs for them.  Remove the structs
and read the registers into local variables instead.  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