Skip to contentSkip to conversation

phy: tegra: xusb: Remove unused powered_on variable

PATCH Applied Jon Hunter 3 participants 3 messages Feb 2 – Feb 4

Subsystems (3)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 phy: tegra: xusb: Remove unused powered_on variable

Commit bbf711682cd5 ("phy: tegra: xusb: Add Tegra186 support") added the variable 'powered_on' to the structure 'tegra_xusb_usb2_lane' but it has never been used. Therefore, remove this unused variable.

---
 drivers/phy/tegra/xusb.h | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/tegra/xusb.h +0 -1
index d2b5f9565132..cd277d0ed9e1 100644
@@ -69,7 +69,6 @@ struct tegra_xusb_usb2_lane {
 	struct tegra_xusb_lane base;
 
 	u32 hs_curr_level_offset;
-	bool powered_on;
 };
 
 static inline struct tegra_xusb_usb2_lane *
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Jon Hunter

Commit bbf711682cd5 ("phy: tegra: xusb: Add Tegra186 support") added the variable 'powered_on' to the structure 'tegra_xusb_usb2_lane' but it has never been used. Therefore, remove this unused variable.

---
 drivers/phy/tegra/xusb.h | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/tegra/xusb.h +0 -0
index d2b5f9565132..cd277d0ed9e1 100644

drivers/phy/tegra/xusb.h struct tegra_xusb_usb2_lane { · line 74

Quoted 7 lines
drivers/phy/tegra/xusb.h +0 -1
@@ -69,7 +69,6 @@ struct tegra_xusb_usb2_lane {
 	struct tegra_xusb_lane base;
 
 	u32 hs_curr_level_offset;
-	bool powered_on;
 };
 
 static inline struct tegra_xusb_usb2_lane *
maintainer Applied
#2 lore raw
In reply to Jon Hunter
Quoted 5 lines · Jon Hunter

Commit bbf711682cd5 ("phy: tegra: xusb: Add Tegra186 support") added the variable 'powered_on' to the structure 'tegra_xusb_usb2_lane' but it has never been used. Therefore, remove this unused variable.

Applied, thanks!

[1/1] phy: tegra: xusb: Remove unused powered_on variable

      commit: eeca25fe13a2f690f659a6b43ebbb270b073a6c4

Best regards,

Signature · 1 line
~Vinod