rte_intr_instance_windows_handle_get() and the matching set function have no caller. Windows drivers use the interrupt instance accessors for the file descriptor fields instead.
Drop the internal exports. Only the Linux build is compile tested here, but these functions are built from common code. Signed-off-by: Stephen Hemminger <[email protected]> --- lib/eal/common/eal_common_interrupts.c | 2 -- lib/eal/include/rte_interrupts.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/eal/common/eal_common_interrupts.c b/lib/eal/common/eal_common_interrupts.c index f3eee636df..aa3ff0da50 100644 --- a/lib/eal/common/eal_common_interrupts.c +++ b/lib/eal/common/eal_common_interrupts.c @@ -520,7 +520,6 @@ void rte_intr_vec_list_free(struct rte_intr_handle *intr_handle) intr_handle->vec_list_size = 0; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_intr_instance_windows_handle_get) void *rte_intr_instance_windows_handle_get(struct rte_intr_handle *intr_handle) { CHECK_VALID_INTR_HANDLE(intr_handle); @@ -530,7 +529,6 @@ void *rte_intr_instance_windows_handle_get(struct rte_intr_handle *intr_handle) return NULL; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_intr_instance_windows_handle_set) int rte_intr_instance_windows_handle_set(struct rte_intr_handle *intr_handle, void *windows_handle) { diff --git a/lib/eal/include/rte_interrupts.h b/lib/eal/include/rte_interrupts.h index cfc3562a33..a0b83c99d1 100644 --- a/lib/eal/include/rte_interrupts.h +++ b/lib/eal/include/rte_interrupts.h @@ -778,7 +778,6 @@ rte_intr_event_list_update(struct rte_intr_handle *intr_handle, int size); * - On success, Windows handle. * - On failure, NULL. */ -__rte_internal void * rte_intr_instance_windows_handle_get(struct rte_intr_handle *intr_handle); @@ -795,7 +794,6 @@ rte_intr_instance_windows_handle_get(struct rte_intr_handle *intr_handle); * - On success, zero * - On failure, a negative value and rte_errno is set. */ -__rte_internal int rte_intr_instance_windows_handle_set(struct rte_intr_handle *intr_handle, void *windows_handle); -- 2.53.0

