Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2023 15:34:55 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 27f03f1608f3 - main - dwc: Remove unused GPIO_ACTIVE_LOW define
Message-ID:  <202310051534.395FYtaL012107@gitrepo.freebsd.org>

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

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

commit 27f03f1608f35c59d4f05e759729fa58685db8aa
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-09-23 16:45:04 +0000
Commit:     Emmanuel Vadot <manu@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)
 {



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