[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tmem: Some functions are only used internally
commit 660e1ab0a5f0a39deb50a53ec1b47e73eb2ebc5a Author: Julien Grall <julien.grall@xxxxxxxxxx> AuthorDate: Fri Apr 4 11:07:04 2014 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Apr 4 11:07:04 2014 +0200 tmem: Some functions are only used internally The list of function above are only used internally in common/tmem: - oid_compare - oid_set_invalid - oid_hash Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- xen/common/tmem.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/common/tmem.c b/xen/common/tmem.c index 02e7e2e..342a6db 100644 --- a/xen/common/tmem.c +++ b/xen/common/tmem.c @@ -829,7 +829,7 @@ static void rtn_free(struct radix_tree_node *rtn, void *arg) /************ POOL OBJECT COLLECTION MANIPULATION ROUTINES *******************/ -int oid_compare(struct oid *left, struct oid *right) +static int oid_compare(struct oid *left, struct oid *right) { if ( left->oid[2] == right->oid[2] ) { @@ -853,12 +853,12 @@ int oid_compare(struct oid *left, struct oid *right) return 1; } -void oid_set_invalid(struct oid *oidp) +static void oid_set_invalid(struct oid *oidp) { oidp->oid[0] = oidp->oid[1] = oidp->oid[2] = -1UL; } -unsigned oid_hash(struct oid *oidp) +static unsigned oid_hash(struct oid *oidp) { return (tmem_hash(oidp->oid[0] ^ oidp->oid[1] ^ oidp->oid[2], BITS_PER_LONG) & OBJ_HASH_BUCKETS_MASK); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |