diff options
author | Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au> | 2020-01-29 00:57:09 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-01-30 01:56:57 +0300 |
commit | 7779385484dad7c95b624f7c9ee1aa07ab8cf43b (patch) | |
tree | c0546e9d0cf97814bc7abbdc9bcb04a88118dbda /drivers/spi/spi-xtensa-xtfpga.c | |
parent | d555a50fd6e0280735cabf8581feff875f3f39d7 (diff) | |
download | linux-7779385484dad7c95b624f7c9ee1aa07ab8cf43b.tar.xz |
PCI: Remove local variable usage in pci_bus_distribute_available_resources()
In pci_bus_distribute_available_resources(), use resource_size() rather
than the local available_io, etc. No functional change intended; this just
makes the preceding patch smaller.
[bhelgaas: extracted from https://lore.kernel.org/r/PSXP216MB0438587C47CBEDF365B1EA27803C0@PSXP216MB0438.KORP216.PROD.OUTLOOK.COM]
Signed-off-by: Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/spi/spi-xtensa-xtfpga.c')
0 files changed, 0 insertions, 0 deletions