git: 0156be41a1eb - main - aq(4): Remove unimplemented functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Nov 2025 15:56:37 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=0156be41a1eb8e0408819466b912181aa7966df9
commit 0156be41a1eb8e0408819466b912181aa7966df9
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-11-12 23:45:37 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-11-30 15:55:27 +0000
aq(4): Remove unimplemented functions
aq_if_priv_ioctl and aq_if_debug have prototypes but are not yet
implemented. Just remove the commented-out DEVMETHODs and the unused
prototypes, to clear a build-time warning; the DEVMETHODs and prototypes
can be readded if / when they are implemented.
---
sys/dev/aq/aq_main.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sys/dev/aq/aq_main.c b/sys/dev/aq/aq_main.c
index 5712e347cff8..48f8305fcd15 100644
--- a/sys/dev/aq/aq_main.c
+++ b/sys/dev/aq/aq_main.c
@@ -160,7 +160,6 @@ static int aq_if_media_change(if_ctx_t ctx);
static int aq_if_promisc_set(if_ctx_t ctx, int flags);
static uint64_t aq_if_get_counter(if_ctx_t ctx, ift_counter cnt);
static void aq_if_timer(if_ctx_t ctx, uint16_t qid);
-static int aq_if_priv_ioctl(if_ctx_t ctx, u_long command, caddr_t data);
static int aq_hw_capabilities(struct aq_dev *softc);
static void aq_add_stats_sysctls(struct aq_dev *softc);
@@ -177,7 +176,6 @@ static void aq_if_vlan_register(if_ctx_t ctx, uint16_t vtag);
static void aq_if_vlan_unregister(if_ctx_t ctx, uint16_t vtag);
/* Informational/diagnostic */
-static void aq_if_debug(if_ctx_t ctx);
static void aq_if_led_func(if_ctx_t ctx, int onoff);
static device_method_t aq_methods[] = {
@@ -235,7 +233,6 @@ static device_method_t aq_if_methods[] = {
DEVMETHOD(ifdi_get_counter, aq_if_get_counter),
DEVMETHOD(ifdi_update_admin_status, aq_if_update_admin_status),
DEVMETHOD(ifdi_timer, aq_if_timer),
-// DEVMETHOD(ifdi_priv_ioctl, aq_if_priv_ioctl),
/* Interrupt enable / disable */
DEVMETHOD(ifdi_intr_enable, aq_if_enable_intr),
@@ -250,7 +247,6 @@ static device_method_t aq_if_methods[] = {
/* Informational/diagnostic */
DEVMETHOD(ifdi_led_func, aq_if_led_func),
-// DEVMETHOD(ifdi_debug, aq_if_debug),
DEVMETHOD_END
};