Removed unnecessary call of ec_master_inject_external_datagrams(). stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Fri, 16 Dec 2011 16:29:00 +0100
branchstable-1.5
changeset 2178 3afde1f58e1a
parent 2177 dff1cf71a8c7
child 2179 6122e722133d
Removed unnecessary call of ec_master_inject_external_datagrams().
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)) {