phy: rockchip-pcie: remove unused phy_rd_cfg function
authorTom Rix <trix@redhat.com>
Tue, 21 Mar 2023 12:25:03 +0000 (08:25 -0400)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 13:53:13 +0000 (19:23 +0530)
commit64cdc036081153981d01406d0a847c535d8e6a75
tree76b025875df210f11a2537e00986a9cffcb590c7
parent623cb3e22c9d7ecb655df8e32701c8a92313746b
phy: rockchip-pcie: remove unused phy_rd_cfg function

clang with W=1 reports
drivers/phy/rockchip/phy-rockchip-pcie.c:122:19: error:
  unused function 'phy_rd_cfg' [-Werror,-Wunused-function]
static inline u32 phy_rd_cfg(struct rockchip_pcie_phy *rk_phy,
                  ^
This function is not used, so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230321122503.1783311-1-trix@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-pcie.c