Skip to content

Commit

Permalink
KVM: Remove redundant alloc_vmcs_cpu declaration
Browse files Browse the repository at this point in the history
alloc_vmcs_cpu is already declared (static) above, no need to
redeclare.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Rusty Russell authored and Avi Kivity committed Oct 13, 2007
1 parent bfc733a commit 37c0005
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,8 +949,6 @@ static void free_kvm_area(void)
free_vmcs(per_cpu(vmxarea, cpu));
}

extern struct vmcs *alloc_vmcs_cpu(int cpu);

static __init int alloc_kvm_area(void)
{
int cpu;
Expand Down

0 comments on commit 37c0005

Please sign in to comment.