Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2022 03:10:50 GMT
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f060362adeb4 - main - ipq4018: remove write-only variables in USB ehci/xhci bus glue
Message-ID:  <202209130310.28D3Aocd069750@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=f060362adeb422e1a70c2ff377ddcba9a244e527

commit f060362adeb422e1a70c2ff377ddcba9a244e527
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2022-09-12 02:32:29 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2022-09-13 03:10:24 +0000

    ipq4018: remove write-only variables in USB ehci/xhci bus glue
    
    Changes in compilers / warnings/errors caused this to stop compiling.
    Delete the write-only code.
    
    Reviewed by: imp
    
    Differential Revision: https://reviews.freebsd.org/D36532
---
 sys/arm/qualcomm/ipq4018_usb_hs_phy.c | 2 --
 sys/arm/qualcomm/ipq4018_usb_ss_phy.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c
index 4d3d0d70a9a3..611db46e678d 100644
--- a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c
+++ b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c
@@ -212,8 +212,6 @@ fail:
 static int
 ipq4018_usb_hs_usbphy_detach(device_t dev)
 {
-	struct ipq4018_usb_hs_phy_softc *sc;
-	sc = device_get_softc(dev);
 
 	return (0);
 }
diff --git a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c
index ad7ff8a5ff44..2b55d5c44500 100644
--- a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c
+++ b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c
@@ -192,8 +192,6 @@ fail:
 static int
 ipq4018_usb_ss_usbphy_detach(device_t dev)
 {
-	struct ipq4018_usb_ss_phy_softc *sc;
-	sc = device_get_softc(dev);
 
 	return (0);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209130310.28D3Aocd069750>