git: 09e4502d5ca4 - main - Revert "mgb: Use MGB_DEBUG instead of DEBUG"

Ed Maste emaste at FreeBSD.org
Wed Sep 29 15:07:43 UTC 2021


The branch main has been updated by emaste:

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

commit 09e4502d5ca41430e9647088a69d41b11deb47d9
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-09-29 15:04:23 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-09-29 15:07:11 +0000

    Revert "mgb: Use MGB_DEBUG instead of DEBUG"
    
    This reverts commit 5aa9f8dae3d40e1780a688ce01401e799b25e7c3.
    
    We might as well get coverage of this code via LINT.
    
    Reported by:    mhorne
---
 sys/dev/mgb/if_mgb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c
index c62b666f098b..bc944c92625c 100644
--- a/sys/dev/mgb/if_mgb.c
+++ b/sys/dev/mgb/if_mgb.c
@@ -620,7 +620,7 @@ mgb_init(if_ctx_t ctx)
 		    error);
 }
 
-#ifdef MGB_DEBUG
+#ifdef DEBUG
 static void
 mgb_dump_some_stats(struct mgb_softc *sc)
 {


More information about the dev-commits-src-all mailing list