diff mbox

[7/7] kvm/arm: Remove unused kvm_arch_set_memory_region

Message ID 5d9e775fd2d7c9ab03d70175610a5d8cedcc3799.1365117838.git.geoff@infradead.org (mailing list archive)
State New, archived
Headers show

Commit Message

Geoff Levand April 4, 2013, 11:33 p.m. UTC
Remove the unused and empty routine kvm_arch_set_memory_region().

Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 arch/arm/kvm/arm.c |    8 --------
 1 file changed, 8 deletions(-)

Comments

Christoffer Dall April 4, 2013, 11:58 p.m. UTC | #1
On Thu, Apr 4, 2013 at 4:33 PM, Geoff Levand <geoff@infradead.org> wrote:
> Remove the unused and empty routine kvm_arch_set_memory_region().
>
> Signed-off-by: Geoff Levand <geoff@infradead.org>
> ---
>  arch/arm/kvm/arm.c |    8 --------
>  1 file changed, 8 deletions(-)
>
> diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
> index 86becdc..a67b798 100644
> --- a/arch/arm/kvm/arm.c
> +++ b/arch/arm/kvm/arm.c
> @@ -221,14 +221,6 @@ long kvm_arch_dev_ioctl(struct file *filp,
>         return -EINVAL;
>  }
>
> -int kvm_arch_set_memory_region(struct kvm *kvm,
> -                              struct kvm_userspace_memory_region *mem,
> -                              struct kvm_memory_slot old,
> -                              int user_alloc)
> -{
> -       return 0;
> -}
> -
>  int kvm_arch_prepare_memory_region(struct kvm *kvm,
>                                    struct kvm_memory_slot *memslot,
>                                    struct kvm_memory_slot old,
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

and I can take this one too.

-Christoffer
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 86becdc..a67b798 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -221,14 +221,6 @@  long kvm_arch_dev_ioctl(struct file *filp,
 	return -EINVAL;
 }
 
-int kvm_arch_set_memory_region(struct kvm *kvm,
-			       struct kvm_userspace_memory_region *mem,
-			       struct kvm_memory_slot old,
-			       int user_alloc)
-{
-	return 0;
-}
-
 int kvm_arch_prepare_memory_region(struct kvm *kvm,
 				   struct kvm_memory_slot *memslot,
 				   struct kvm_memory_slot old,