mgb: quiten -Wunused-function with LINT builds
As the function itself seems to be helpful don't remove the code but change the #ifdef DEBUG to #if 0 to avoid: warning: unused function 'mgb_dump_some_stats' [-Wunused-function] with LINT builds.
This commit is contained in:
parent
2aa6ed881d
commit
570773d68c
@ -619,7 +619,7 @@ mgb_init(if_ctx_t ctx)
|
||||
error);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
static void
|
||||
mgb_dump_some_stats(struct mgb_softc *sc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user