summaryrefslogtreecommitdiff
path: root/kern/sref.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/sref.c')
-rw-r--r--kern/sref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/sref.c b/kern/sref.c
index 051fe4c1..84417a70 100644
--- a/kern/sref.c
+++ b/kern/sref.c
@@ -243,7 +243,7 @@ sref_queue_concat(struct sref_queue *queue1, struct sref_queue *queue2)
queue1->size += queue2->size;
}
-__unused static inline bool
+static inline bool
sref_counter_aligned(const struct sref_counter *counter)
{
return (((uintptr_t)counter & (~SREF_WEAKREF_MASK)) == 0);