[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tmem: cleanup: drop unused function 'domain_fully_allocated'
commit 501d6114e672ad56c4308a58adddc719021939db Author: Bob Liu <lliubbo@xxxxxxxxx> AuthorDate: Fri Nov 8 09:03:55 2013 +0800 Commit: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> CommitDate: Tue Nov 12 10:15:26 2013 -0500 tmem: cleanup: drop unused function 'domain_fully_allocated' Nobody uses this function. Signed-off-by: Bob Liu <bob.liu@xxxxxxxxxx> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- xen/include/xen/tmem_xen.h | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/xen/include/xen/tmem_xen.h b/xen/include/xen/tmem_xen.h index 0b64309..9941bf2 100644 --- a/xen/include/xen/tmem_xen.h +++ b/xen/include/xen/tmem_xen.h @@ -110,14 +110,6 @@ static inline void tmem_page_list_put(struct page_info *pi) /* * Memory allocation for persistent data */ - -static inline bool_t domain_fully_allocated(struct domain *d) -{ - return ( d->tot_pages >= d->max_pages ); -} -#define tmem_client_memory_fully_allocated(_pool) \ - domain_fully_allocated(_pool->client->domain) - static inline void *tmem_alloc_subpage_thispool(struct xmem_pool *cmem_mempool, size_t size, size_t align) { -- 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 |