refcount: remove a stale comment about conditional ref/unref routines

It was there for vfs-specific variants and was copied over when it should not.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
mjg 2018-12-07 16:10:13 +00:00
parent 72442df1f5
commit 6d80602477

View File

@ -79,8 +79,6 @@ refcount_release(volatile u_int *count)
/*
* This functions returns non-zero if the refcount was
* incremented. Else zero is returned.
*
* A temporary hack until refcount_* APIs are sorted out.
*/
static __inline __result_use_check int
refcount_acquire_if_not_zero(volatile u_int *count)