lkml.org 
[lkml]   [2007]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 044/104] KVM: Remove redundant alloc_vmcs_cpu declaration
    Date
    From: Rusty Russell <rusty@rustcorp.com.au>

    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>
    ---
    drivers/kvm/vmx.c | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
    index c4b8bfe..a94eb20 100644
    --- a/drivers/kvm/vmx.c
    +++ b/drivers/kvm/vmx.c
    @@ -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;
    --
    1.5.3
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-09-17 11:07    [W:0.019 / U:0.324 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site