[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 09/11] tmem: cleanup: drop unused function 'domain_fully_allocated'
Nobody uses this function. Signed-off-by: Bob Liu <bob.liu@xxxxxxxxxx> --- xen/include/xen/tmem_xen.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/xen/include/xen/tmem_xen.h b/xen/include/xen/tmem_xen.h index e2c03d2..3a2ced8 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) { -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |