Skip to contentSkip to conversation

drop some kruft

PATCH Applied Daniel Walker 2 participants 2 messages Dec 10, 2006 – Dec 11, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drop some kruft

Some left overs.. Seems like I've made this patch before.

---
 init/main.c |    6 ------
 1 files changed, 6 deletions(-)
init/main.c +0 -6
Index: linux-2.6.19/init/main.c
===================================================================
@@ -667,12 +667,6 @@ static void __init do_initcalls(void)
 			msg = "disabled interrupts";
 			local_irq_enable();
 		}
-#ifdef CONFIG_PREEMPT_RT
-		if (irqs_disabled()) {
-			msg = "disabled hard interrupts";
-			local_irq_enable();
-		}
-#endif
 		if (msg) {
 			printk(KERN_WARNING "initcall at 0x%p", *call);
 			print_fn_descriptor_symbol(": %s()",

--

Applied
#1 lore raw

init/main.c static void __init do_initcalls(void) · line 675

Quoted 6 lines · Daniel Walker
init/main.c +0 -6
-#ifdef CONFIG_PREEMPT_RT
-		if (irqs_disabled()) {
-			msg = "disabled hard interrupts";
-			local_irq_enable();
-		}
-#endif

thanks, applied.

Ingo