# \[PATCH v4 04/13\] phy: qualcomm: qcom-uniphy-pcie-usb3-28lp: Drop unused phy\_to\_dw\_phy macro

- From: George Moussalem via B4 Relay \<devnull+george.moussalem.outlook.com@kernel.org\>
- Date: 2026-09-08 09:41:55 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2026/09/17529790
- Thread: https://ratatoskr.run/linux-arm-msm/2026/09/17529786/t.md

```text
From: George Moussalem <redacted>

Remove the unused phy_to_dw_phy() helper macro which is not referenced
anywhere in the driver.

Tested-by: Stanislaw Pal <redacted>
Signed-off-by: George Moussalem <redacted>
---
 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


```
