From d21d819d54c7f9f6050982c5845e975d7ceb15e0 Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Fri, 22 Feb 2008 18:40:41 +0000 Subject: [PATCH] Minor changes. --- master/pdo.c | 2 +- master/pdo_mapping.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/master/pdo.c b/master/pdo.c index 9d122cc2..58df96d8 100644 --- a/master/pdo.c +++ b/master/pdo.c @@ -192,7 +192,7 @@ int ec_pdo_equal_entries( 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); diff --git a/master/pdo_mapping.c b/master/pdo_mapping.c index f18b1901..023d915b 100644 --- a/master/pdo_mapping.c +++ b/master/pdo_mapping.c @@ -303,7 +303,7 @@ int ec_pdo_mapping_equal( 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); -- GitLab