git: f4bd36ba2a91 - main - rk_usbphy: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 01:31:53 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f4bd36ba2a9197ca30d83afb7f4612efdb42ce04 commit f4bd36ba2a9197ca30d83afb7f4612efdb42ce04 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-09 01:31:29 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-09 01:31:29 +0000 rk_usbphy: Remove unused variable. --- sys/arm64/rockchip/rk_usbphy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/arm64/rockchip/rk_usbphy.c b/sys/arm64/rockchip/rk_usbphy.c index 59c4bd0ce02f..7d53ba5322c5 100644 --- a/sys/arm64/rockchip/rk_usbphy.c +++ b/sys/arm64/rockchip/rk_usbphy.c @@ -286,9 +286,6 @@ fail: static int rk_usbphy_detach(device_t dev) { - struct rk_usbphy_softc *sc; - sc = device_get_softc(dev); - return (0); }