Remove unneeded push.
[bertos.git] / bertos / cpu / frame.h
index 7420dddd1f2379eba43885b7f53cfc9fcf2fe5ad..63d341cf1db379d159d3f4b0d99e162ece2a9e5f 100644 (file)
                                CPU_PUSH_WORD(stack, IRQ_PRIO_DISABLED); \
                        } while (0)
 
-       #else /* !CONFIG_KERN_PREEMPT */
-               #define CPU_PUSH_CALL_FRAME(sp, func) \
-                       do { \
-                               CPU_PUSH_WORD((sp), 0x01000000);                /* xPSR    */   \
-                               CPU_PUSH_WORD((sp), (cpu_stack_t)(func));       /* pc      */   \
-                       } while (0);
        #endif /* CONFIG_KERN_PREEMPT */
 
 #elif CPU_AVR