The branch main has been updated by manu:

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

commit 27f03f1608f35c59d4f05e759729fa58685db8aa
Author:     Emmanuel Vadot <m...@freebsd.org>
AuthorDate: 2023-09-23 16:45:04 +0000
Commit:     Emmanuel Vadot <m...@freebsd.org>
CommitDate: 2023-10-05 15:34:38 +0000

    dwc: Remove unused GPIO_ACTIVE_LOW define
    
    While here move comment block above the appropriate functions.
---
 sys/dev/dwc/if_dwc.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index accc1b6949cb..6ef9fb8513af 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -1488,12 +1488,6 @@ dwc_tick(void *arg)
        callout_reset(&sc->dwc_callout, hz, dwc_tick, sc);
 }
 
-/*
- * Probe/Attach functions
- */
-
-#define        GPIO_ACTIVE_LOW 1
-
 static int
 dwc_reset_phy(struct dwc_softc *sc)
 {
@@ -1586,6 +1580,10 @@ dwc_clock_init(device_t dev)
        return (0);
 }
 
+/*
+ * Probe/Attach functions
+ */
+
 static int
 dwc_probe(device_t dev)
 {

Reply via email to