From b9384b94988cbcd697199e3284abd5f151978fe6 Mon Sep 17 00:00:00 2001 From: Olivier Certner Date: Fri, 20 Oct 2023 20:49:56 +0200 Subject: [PATCH] FreeBSD: taskq: Remove unused declaration Variable 'uma_align_cache' has not been used since commit "FreeBSD: Use a hash table for taskqid lookups" (3933305ea). Moreover, it is soon going to become private to FreeBSD's UMA in 15.0-CURRENT (main), 14.0-STABLE (stable/14) and 13.2-STABLE (stable/13). Should accessing this information become necessary again, one will have to use the new accessors for recent versions. Reviewed-by: Alexander Motin Reviewed-by: Brian Behlendorf Signed-off-by: Olivier Certner Closes #15416 --- module/os/freebsd/spl/spl_taskq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/os/freebsd/spl/spl_taskq.c b/module/os/freebsd/spl/spl_taskq.c index daefe35595..842b80ade1 100644 --- a/module/os/freebsd/spl/spl_taskq.c +++ b/module/os/freebsd/spl/spl_taskq.c @@ -64,8 +64,6 @@ taskq_t *dynamic_taskq = NULL; proc_t *system_proc; -extern int uma_align_cache; - static MALLOC_DEFINE(M_TASKQ, "taskq", "taskq structures"); static LIST_HEAD(tqenthashhead, taskq_ent) *tqenthashtbl;