[xen master] xen/arm: mm: Remove unused relinquish_shared_pages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] xen/arm: mm: Remove unused relinquish_shared_pages

patchbot
commit 61a39cbc1c864d305d1a32025cd8ecc6e0aa91c4
Author:     Julien Grall <[hidden email]>
AuthorDate: Wed Feb 21 13:46:24 2018 +0000
Commit:     Julien Grall <[hidden email]>
CommitDate: Fri Apr 6 09:43:29 2018 +0100

    xen/arm: mm: Remove unused relinquish_shared_pages
   
    relinquish_shared_pages is never called on Arm.
   
    Signed-off-by: Julien Grall <[hidden email]>
    Reviewed-by: George Dunlap <[hidden email]>
    Acked-by: Stefano Stabellini <[hidden email]>
---
 xen/include/asm-arm/mm.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h
index 066ca5facb..802e859cd8 100644
--- a/xen/include/asm-arm/mm.h
+++ b/xen/include/asm-arm/mm.h
@@ -314,10 +314,6 @@ struct page_info *get_page_from_gva(struct vcpu *v, vaddr_t va,
                                     unsigned long flags);
 
 static inline void put_gfn(struct domain *d, unsigned long gfn) {}
-static inline int relinquish_shared_pages(struct domain *d)
-{
-    return 0;
-}
 
 /*
  * Arm does not have an M2P, but common code expects a handful of
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog