]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: mobiveil: Remove unused readl and writel functions
authorKrzysztof Wilczyński <kw@linux.com>
Mon, 10 May 2021 02:30:32 +0000 (02:30 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 3 Jun 2021 16:13:55 +0000 (17:13 +0100)
commit2c498458df2ff52daa4b5bb1f1c9cbc9b880d369
tree65b533929cd33eb3c5e25da2749e10420fbb47ba
parent78f0a5f86683713bf30eae653c023ab078a37264
PCI: mobiveil: Remove unused readl and writel functions

The PCIe host controller driver for Layerscape 4th generation SoC was
added in the commit 74d1a091a402 ("PCI: mobiveil: Add PCIe Gen4 RC
driver for Layerscape SoCs").

At this time two static functions were introduced that appear to
currently have no users.  Since nothing is using neither of these
functions at the moment they can be safely removed.

This resolves the following build time warnings:

  drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c:45:19: warning: unused function 'ls_pcie_g4_lut_readl' [-Wunused-function]
  drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c:50:20: warning: unused function 'ls_pcie_g4_lut_writel' [-Wunused-function]

Link: https://lore.kernel.org/r/20210510023032.3063932-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c