From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: [PATCH] Remove redundant alloc_vmcs_cpu declaration Date: Tue, 31 Jul 2007 20:46:12 +1000 Message-ID: <1185878772.6131.104.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org alloc_vmcs_cpu is already declared (static) above, no need to redeclare. Signed-off-by: Rusty Russell diff -r 12049042a59e drivers/kvm/vmx.c --- a/drivers/kvm/vmx.c Mon Jul 23 11:16:17 2007 +1000 +++ b/drivers/kvm/vmx.c Mon Jul 23 11:35:39 2007 +1000 @@ -816,8 +816,6 @@ static void free_kvm_area(void) for_each_online_cpu(cpu) free_vmcs(per_cpu(vmxarea, cpu)); } - -extern struct vmcs *alloc_vmcs_cpu(int cpu); static __init int alloc_kvm_area(void) { ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/