usb: host: ehci-tegra: Remove unused fields from tegra_ehci_hcd
authorDmitry Osipenko <digetx@gmail.com>
Mon, 6 Jan 2020 01:34:16 +0000 (04:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 15:21:59 +0000 (16:21 +0100)
There are few stale fields in tegra_ehci_hcd structure, let's remove them.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200106013416.9604-21-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-tegra.c

index 1eb9420..d6433f2 100644 (file)
@@ -42,12 +42,10 @@ struct tegra_ehci_soc_config {
 };
 
 struct tegra_ehci_hcd {
-       struct tegra_usb_phy *phy;
        struct clk *clk;
        struct reset_control *rst;
        int port_resuming;
        bool needs_double_reset;
-       enum tegra_usb_phy_port_speed port_speed;
 };
 
 static int tegra_reset_usb_controller(struct platform_device *pdev)