]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/can_quekern.c
Correction of spinlock acquire order.
[lincan.git] / lincan / src / can_quekern.c
index 140a0850f78f0def2aa76a7b416b94c9b1df0a4a..ac1554c7cb52b08beed9fc4380e5eada9f9ce5eb 100644 (file)
@@ -122,12 +122,10 @@ static inline void canque_dead_tasklet_schedule(void)
 }
 
 
-void canque_edge_do_dead(struct canque_edge_t *edge, int dead_fl)
+void canque_edge_do_dead(struct canque_edge_t *edge)
 {
        can_spin_irqflags_t flags;
        
-       if(dead_fl) return;
-       
        canque_notify_bothends(edge,CANQUEUE_NOTIFY_NOUSR);
     #ifdef CAN_WITH_RTL
        /* The problem of the above call is, that in RT-Linux to Linux notify