diff mbox series

[Xen-devel,v5,05/16] xen/arm: mm: Remove unused relinquish_shared_pages

Message ID 20180314182009.14274-6-julien.grall@arm.com
State New
Headers show
Series xen: Convert page_to_mfn and mfn_to_page to use typesafe MFN | expand

Commit Message

Julien Grall March 14, 2018, 6:19 p.m. UTC
From: Julien Grall <julien.grall@arm.com>

relinquish_shared_pages is never called on Arm.

Signed-off-by: Julien Grall <julien.grall@arm.com>

---

Cc: Stefano Stabellini <sstabellini@kernel.org>

    Changes in v4:
        - Patch added
---
 xen/include/asm-arm/mm.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

George Dunlap March 15, 2018, 4:28 p.m. UTC | #1
On Wed, Mar 14, 2018 at 6:19 PM,  <julien.grall@arm.com> wrote:
> From: Julien Grall <julien.grall@arm.com>
>
> relinquish_shared_pages is never called on Arm.
>
> Signed-off-by: Julien Grall <julien.grall@arm.com>

Reviewed-by: George Dunlap <george.dunlap@citrix.com>
diff mbox series

Patch

diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h
index c03f4ad674..7678e29c15 100644
--- a/xen/include/asm-arm/mm.h
+++ b/xen/include/asm-arm/mm.h
@@ -321,10 +321,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;
-}
 
 #define INVALID_M2P_ENTRY        (~0UL)
 #define SHARED_M2P_ENTRY         (~0UL - 1UL)