lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [11/28] x86: MCE: Remove mce_init unused argument
    Date

    From: Thomas Gleixner <tglx@linutronix.de>

    Impact: Cleanup

    Remove unused mce_init argument.

    Signed-off-by: Andi Kleen <ak@linux.intel.com>

    ---
    arch/x86/kernel/cpu/mcheck/mce_64.c | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    Index: linux/arch/x86/kernel/cpu/mcheck/mce_64.c
    ===================================================================
    --- linux.orig/arch/x86/kernel/cpu/mcheck/mce_64.c 2009-04-07 16:09:59.000000000 +0200
    +++ linux/arch/x86/kernel/cpu/mcheck/mce_64.c 2009-04-07 16:43:13.000000000 +0200
    @@ -556,7 +556,7 @@
    return 0;
    }

    -static void mce_init(void *dummy)
    +static void mce_init(void)
    {
    u64 cap;
    int i;
    @@ -640,7 +640,7 @@
    }
    mce_cpu_quirks(c);

    - mce_init(NULL);
    + mce_init();
    mce_cpu_features(c);
    mce_init_timer();
    }
    @@ -873,7 +873,7 @@
    CPU hotplug. */
    static int mce_resume(struct sys_device *dev)
    {
    - mce_init(NULL);
    + mce_init();
    mce_cpu_features(&current_cpu_data);
    return 0;
    }
    @@ -882,7 +882,7 @@
    {
    del_timer_sync(&__get_cpu_var(mce_timer));
    if (mce_available(&current_cpu_data))
    - mce_init(NULL);
    + mce_init();
    mce_init_timer();
    }


    \
     
     \ /
      Last update: 2009-04-07 17:17    [W:0.021 / U:33.628 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site