Minor changes.
authorFlorian Pose <fp@igh-essen.com>
Fri, 22 Feb 2008 18:40:41 +0000
changeset 826 70aeae0de217
parent 825 3771f5a0ed90
child 827 205eccb70bce
Minor changes.
master/pdo.c
master/pdo_mapping.c
--- a/master/pdo.c	Fri Feb 22 18:25:44 2008 +0000
+++ b/master/pdo.c	Fri Feb 22 18:40:41 2008 +0000
@@ -192,7 +192,7 @@
 
         if ((item1 == head1) ^ (item2 == head2)) // unequal lengths
             return 0;
-        if (item1 == head1 && item2 == head2) // both finished
+        if (item1 == head1) // both finished
             break;
 
         entry1 = list_entry(item1, ec_pdo_entry_t, list);
--- a/master/pdo_mapping.c	Fri Feb 22 18:25:44 2008 +0000
+++ b/master/pdo_mapping.c	Fri Feb 22 18:40:41 2008 +0000
@@ -303,7 +303,7 @@
 
         if ((l1 == h1) ^ (l2 == h2)) // unequal lengths
             return 0;
-        if (l1 == h1 && l2 == h2) // both finished
+        if (l1 == h1) // both finished
             break;
 
         p1 = list_entry(l1, ec_pdo_t, list);