From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Delaunay Date: Fri, 29 Mar 2019 15:42:09 +0100 Subject: [U-Boot] [PATCH 01/16] phy: usbphyc: remove unused variable index In-Reply-To: <1553870544-15734-1-git-send-email-patrick.delaunay@st.com> References: <1553870544-15734-1-git-send-email-patrick.delaunay@st.com> Message-ID: <1553870544-15734-2-git-send-email-patrick.delaunay@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Remove unused field index in struct stm32_usbphyc_phy. Signed-off-by: Patrick Delaunay --- drivers/phy/phy-stm32-usbphyc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c index 8e98b4b..fc53df2 100644 --- a/drivers/phy/phy-stm32-usbphyc.c +++ b/drivers/phy/phy-stm32-usbphyc.c @@ -55,7 +55,6 @@ struct stm32_usbphyc { struct udevice *vdd; struct udevice *vdda1v1; struct udevice *vdda1v8; - int index; bool init; bool powered; } phys[MAX_PHYS]; @@ -359,7 +358,6 @@ static int stm32_usbphyc_probe(struct udevice *dev) for (i = 0; i < MAX_PHYS; i++) { struct stm32_usbphyc_phy *usbphyc_phy = usbphyc->phys + i; - usbphyc_phy->index = i; usbphyc_phy->init = false; usbphyc_phy->powered = false; ret = stm32_usbphyc_get_regulator(dev, node, "phy-supply", -- 2.7.4