summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2022-12-06 01:32:31 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-12-06 15:15:06 +0300
commit6aecc0a59e07ba895b5473e0c916ba5f3d556c15 (patch)
treede6ce036285c9c95489a46a09dc78a254f328b73 /arch
parent8f4ab7da904ab7027ccd43ddb4f0094e932a5877 (diff)
downloadlinux-6aecc0a59e07ba895b5473e0c916ba5f3d556c15.tar.xz
cxl: Remove unnecessary cxl_pci_window_alignment()
cxl_pci_window_alignment() is referenced only via the struct pci_controller_ops.window_alignment function pointer, and only in the powerpc implementation of pcibios_window_alignment(). pcibios_window_alignment() defaults to returning 1 if the function pointer is NULL, which is the same was what cxl_pci_window_alignment() does. cxl_pci_window_alignment() is unnecessary, so remove it. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20221205223231.1268085-1-helgaas@kernel.org
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions