From patchwork Thu Apr 4 23:33:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 2395461 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 90EDDDF25A for ; Thu, 4 Apr 2013 23:34:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765442Ab3DDXd7 (ORCPT ); Thu, 4 Apr 2013 19:33:59 -0400 Received: from merlin.infradead.org ([205.233.59.134]:47803 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765413Ab3DDXd4 (ORCPT ); Thu, 4 Apr 2013 19:33:56 -0400 Received: from geoff by merlin.infradead.org with local (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNtfH-0002mJ-EZ; Thu, 04 Apr 2013 23:33:55 +0000 Message-Id: <5d9e775fd2d7c9ab03d70175610a5d8cedcc3799.1365117838.git.geoff@infradead.org> In-Reply-To: References: From: Geoff Levand Patch-Date: Thu, 4 Apr 2013 10:55:35 -0700 Subject: [PATCH 7/7] kvm/arm: Remove unused kvm_arch_set_memory_region To: Marcelo Tosatti Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall , Marc Zyngier Date: Thu, 04 Apr 2013 23:33:55 +0000 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Remove the unused and empty routine kvm_arch_set_memory_region(). Signed-off-by: Geoff Levand --- 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,