svn commit: r321512 - head/sys/sys
Konstantin Belousov
kib at FreeBSD.org
Wed Jul 26 06:42:03 UTC 2017
Author: kib
Date: Wed Jul 26 06:42:01 2017
New Revision: 321512
URL: https://svnweb.freebsd.org/changeset/base/321512
Log:
Mark name_PCTRIE_LOOKUP_LE() generated function unused.
The PCTRIE macro will be shortly applied in a situation where
LOOKUP_LE is not needed.
Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
X-Differential revision: https://reviews.freebsd.org/D11435
Modified:
head/sys/sys/pctrie.h
Modified: head/sys/sys/pctrie.h
==============================================================================
--- head/sys/sys/pctrie.h Wed Jul 26 05:52:37 2017 (r321511)
+++ head/sys/sys/pctrie.h Wed Jul 26 06:42:01 2017 (r321512)
@@ -76,7 +76,7 @@ name##_PCTRIE_LOOKUP(struct pctrie *ptree, uint64_t ke
return name##_PCTRIE_VAL2PTR(pctrie_lookup(ptree, key)); \
} \
\
-static __inline struct type * \
+static __inline __unused struct type * \
name##_PCTRIE_LOOKUP_LE(struct pctrie *ptree, uint64_t key) \
{ \
\
More information about the svn-src-all
mailing list