From patchwork Thu May 28 15:43:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ehrhardt@linux.vnet.ibm.com X-Patchwork-Id: 26761 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4SFhuqk026473 for ; Thu, 28 May 2009 15:43:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760139AbZE1Pnr (ORCPT ); Thu, 28 May 2009 11:43:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759930AbZE1Pnr (ORCPT ); Thu, 28 May 2009 11:43:47 -0400 Received: from mtagate6.de.ibm.com ([195.212.29.155]:34563 "EHLO mtagate6.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759802AbZE1Pnq (ORCPT ); Thu, 28 May 2009 11:43:46 -0400 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate6.de.ibm.com (8.14.3/8.13.8) with ESMTP id n4SFhAiZ105516 for ; Thu, 28 May 2009 15:43:10 GMT Received: from d12av01.megacenter.de.ibm.com (d12av01.megacenter.de.ibm.com [9.149.165.212]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4SFh9qI3022938 for ; Thu, 28 May 2009 17:43:09 +0200 Received: from d12av01.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av01.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4SFh9mm022850 for ; Thu, 28 May 2009 17:43:09 +0200 Received: from localhost.localdomain (dyn-9-152-212-64.boeblingen.de.ibm.com [9.152.212.64]) by d12av01.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n4SFh8Bt022835; Thu, 28 May 2009 17:43:09 +0200 From: ehrhardt@linux.vnet.ibm.com To: kvm@vger.kernel.org, avi@redhat.com Cc: ehrhardt@linux.vnet.ibm.com, borntraeger@de.ibm.com, cotte@de.ibm.com, heiko.carstens@de.ibm.com, schwidefsky@de.ibm.com, mtosatti@redhat.com Subject: [PATCH 4/5] kvm: remove redundant declarations Date: Thu, 28 May 2009 17:43:07 +0200 Message-Id: <1243525388-3625-5-git-send-email-ehrhardt@linux.vnet.ibm.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1243525388-3625-1-git-send-email-ehrhardt@linux.vnet.ibm.com> References: <1243525388-3625-1-git-send-email-ehrhardt@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Christian Ehrhardt Changing s390 code in kvm_arch_vcpu_load/put come across this header declarations. They are complete duplicates, not even useful forward declarations as nothing using it is in between (according to git blame the s390 and ia64 contributions introducing the first arch independency overlapped and added it twice). This patch removes the two dispensable lines. Signed-off-by: Christian Ehrhardt --- [diffstat] kvm_host.h | 2 -- 1 file changed, 2 deletions(-) [diff] -- 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 Index: kvm/include/linux/kvm_host.h =================================================================== --- kvm.orig/include/linux/kvm_host.h +++ kvm/include/linux/kvm_host.h @@ -241,8 +241,6 @@ long kvm_arch_dev_ioctl(struct file *fil unsigned int ioctl, unsigned long arg); long kvm_arch_vcpu_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg); -void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu); -void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); int kvm_dev_ioctl_check_extension(long ext);