[PATCH v4 04/13] phy: qualcomm: qcom-uniphy-pcie-usb3-28lp: Drop unused phy_to_dw_phy macro
From: George Moussalem via B4 Relay
Date: Tue Sep 08 2026 - 06:03:48 EST
From: George Moussalem <george.moussalem@xxxxxxxxxxx>
Remove the unused phy_to_dw_phy() helper macro which is not referenced
anywhere in the driver.
Tested-by: Stanislaw Pal <kuncy7@xxxxxxxxx>
Signed-off-by: George Moussalem <george.moussalem@xxxxxxxxxxx>
---
drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c b/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c
index b9ca6c1c177b..0256183fbcbd 100644
--- a/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c
+++ b/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c
@@ -72,8 +72,6 @@ struct qcom_uniphy {
int lanes;
};
-#define phy_to_dw_phy(x) container_of((x), struct qcom_uniphy, phy)
-
static const struct qcom_uniphy_regs ipq5018_pcie_regs[] = {
{
.offset = SSCG_CTRL_REG_4,
--
2.53.0