Date: Wed, 26 Jul 2017 06:42:01 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r321512 - head/sys/sys Message-ID: <201707260642.v6Q6g1K8026598@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) \ { \ \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707260642.v6Q6g1K8026598>