lkml.org 
[lkml]   [2006]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] i386: Remove duplicate code
    Remove a duplicate NULL pointer check introduced by commit
    4211a30349e8d2b724cfb4ce2584604f5e59c299

    Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>

    ---

    arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
    index 7c0e160..30bb6fd 100644
    --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
    +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
    @@ -1109,9 +1109,6 @@ static unsigned int powernowk8_get (unsi
    if (!data)
    return -EINVAL;

    - if (!data)
    - return -EINVAL;
    -
    set_cpus_allowed(current, cpumask_of_cpu(cpu));
    if (smp_processor_id() != cpu) {
    printk(KERN_ERR PFX "limiting to CPU %d failed in powernowk8_get\n", cpu);
    -
    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: 2006-04-10 19:22    [W:3.621 / U:0.240 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site