]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
phy: tegra: xusb: Remove unused powered_on variable
authorJon Hunter <jonathanh@nvidia.com>
Mon, 2 Feb 2026 15:33:14 +0000 (15:33 +0000)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Feb 2026 15:28:43 +0000 (20:58 +0530)
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.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Link: https://patch.msgid.link/20260202153314.1634145-1-jonathanh@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/tegra/xusb.h

index d2b5f95651324a85ec6cfea8075e591732edc530..cd277d0ed9e184f48e82a7f3f21907fe4abc0356 100644 (file)
@@ -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 *