Removed state-dependent skip messages. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Wed, 14 Nov 2012 22:00:11 +0100
branchstable-1.5
changeset 2441 a89481754fd5
parent 2440 341d9575745d
child 2442 86ebf18a029f
Removed state-dependent skip messages.
master/master.c
--- a/master/master.c	Wed Nov 14 21:59:34 2012 +0100
+++ b/master/master.c	Wed Nov 14 22:00:11 2012 +0100
@@ -865,23 +865,6 @@
 {
     ec_datagram_t *queued_datagram;
 
-    switch (datagram->state) {
-        case EC_DATAGRAM_QUEUED:
-            datagram->skip_count++;
-            EC_MASTER_DBG(master, 1, "Skipping already queued datagram %p.\n",
-                    datagram);
-            break;
-
-        case EC_DATAGRAM_SENT:
-            datagram->skip_count++;
-            EC_MASTER_DBG(master, 1, "Skipping already sent datagram %p.\n",
-                    datagram);
-            break;
-
-        default:
-            break;
-    }
-
     /* It is possible, that a datagram in the queue is re-initialized with the
      * ec_datagram_<type>() methods and then shall be queued with this method.
      * In that case, the state is already reset to EC_DATAGRAM_INIT. Check if