e1000: drop NEEDGIANT from em_sysctl_debug_info use

The write is only used to toggle the debug print function and this is
otherwise stateless.

MFC after:	1 week
This commit is contained in:
Kevin Bowling 2024-09-21 21:17:30 -07:00
parent c11a0649b9
commit 5f6964d9fb

View file

@ -840,7 +840,7 @@ em_if_attach_pre(if_ctx_t ctx)
"Prints FW/NVM Versions");
SYSCTL_ADD_PROC(ctx_list, child, OID_AUTO, "debug",
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, sc, 0,
CTLTYPE_INT | CTLFLAG_RW, sc, 0,
em_sysctl_debug_info, "I", "Debug Information");
SYSCTL_ADD_PROC(ctx_list, child, OID_AUTO, "fc",