Skip to contentSkip to conversation

phy: tegra: xusb: remove unused variable

PATCH New Chunfeng Yun 1 participant 1 message Oct 9, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 phy: tegra: xusb: remove unused variable

The local variable @priv is set but not used, can be removed

---
v2: add Acked-by: Thierry

---
 drivers/phy/tegra/xusb-tegra210.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/phy/tegra/xusb-tegra210.c +0 -3
index 0c0df6897a3b..bc71c897298a 100644
@@ -1225,13 +1225,10 @@ static int tegra210_hsic_phy_power_on(struct phy *phy)
 	struct tegra_xusb_hsic_lane *hsic = to_hsic_lane(lane);
 	struct tegra_xusb_hsic_pad *pad = to_hsic_pad(lane->pad);
 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
-	struct tegra210_xusb_padctl *priv;
 	unsigned int index = lane->index;
 	u32 value;
 	int err;
 
-	priv = to_tegra210_xusb_padctl(padctl);
-
 	err = regulator_enable(pad->supply);
 	if (err)
 		return err;
Signature · 1 line
2.23.0