projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c6a0b
)
x86, legacy_irq: Remove duplicate vector assigment
author
Yinghai Lu
<yinghai@kernel.org>
Wed, 24 Feb 2010 02:49:04 +0000
(18:49 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 24 Feb 2010 19:01:34 +0000
(11:01 -0800)
Remove duplicated cfg[i].vector assignment.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <
4B8493A0
.
6080501
@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/apic/io_apic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/apic/io_apic.c
b/arch/x86/kernel/apic/io_apic.c
index b9d08f0e1e33a6a433cf75c9c57ea1ff5d1afcf0..b758d49b811ce6e7b3ba00059aad62a0b8b914ff 100644
(file)
--- a/
arch/x86/kernel/apic/io_apic.c
+++ b/
arch/x86/kernel/apic/io_apic.c
@@
-161,8
+161,6
@@
int __init arch_early_irq_init(void)
node= cpu_to_node(boot_cpu_id);
for (i = 0; i < count; i++) {
- if (i < legacy_pic->nr_legacy_irqs)
- cfg[i].vector = IRQ0_VECTOR + i;
desc = irq_to_desc(i);
desc->chip_data = &cfg[i];
zalloc_cpumask_var_node(&cfg[i].domain, GFP_NOWAIT, node);