Messages in this thread Patch in this message | | | Date | Mon, 10 Apr 2006 07:01:04 +0400 | From | Alexey Dobriyan <> | Subject | [PATCH] Remove duplicate check after powernow-k8 changes |
| |
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
--- 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/
| |