git: cfd8b9545e62 - main - arm64: allwinner: aw_usb3phy: Plug set but not used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 10:12:05 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=cfd8b9545e62f2dbe5b03453aa34a53ee1a2cce9
commit cfd8b9545e62f2dbe5b03453aa34a53ee1a2cce9
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 09:54:47 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-02-21 10:08:08 +0000
arm64: allwinner: aw_usb3phy: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
---
sys/arm/allwinner/aw_usb3phy.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/arm/allwinner/aw_usb3phy.c b/sys/arm/allwinner/aw_usb3phy.c
index f75622f1755d..9b61f64a6448 100644
--- a/sys/arm/allwinner/aw_usb3phy.c
+++ b/sys/arm/allwinner/aw_usb3phy.c
@@ -192,11 +192,9 @@ static int
awusb3phy_set_mode(struct phynode *phynode, int mode)
{
device_t dev;
- intptr_t phy;
struct awusb3phy_softc *sc;
dev = phynode_get_device(phynode);
- phy = phynode_get_id(phynode);
sc = device_get_softc(dev);
if (mode != PHY_USB_MODE_HOST)