# HG changeset patch # User Florian Pose # Date 1324049340 -3600 # Node ID 3afde1f58e1a87809ab45a3c3519e28e3ba04481 # Parent dff1cf71a8c709e1f96f32c72c150c240a09ffd6 Removed unnecessary call of ec_master_inject_external_datagrams(). diff -r dff1cf71a8c7 -r 3afde1f58e1a master/master.c --- a/master/master.c Fri Dec 16 16:26:16 2011 +0100 +++ b/master/master.c Fri Dec 16 16:29:00 2011 +0100 @@ -1270,7 +1270,6 @@ if (fsm_exec) { ec_master_queue_datagram(master, &master->fsm_datagram); } - ec_master_inject_external_datagrams(master); ecrt_master_send(master); sent_bytes = master->main_device.tx_skb[ master->main_device.tx_ring_index]->len; @@ -2100,6 +2099,7 @@ ec_master_queue_datagram(master, &master->fsm_datagram); master->injection_seq_rt = master->injection_seq_fsm; } + ec_master_inject_external_datagrams(master); if (unlikely(!master->main_device.link_state)) {