Skip to content
Snippets Groups Projects
Commit d21d819d authored by Florian Pose's avatar Florian Pose
Browse files

Minor changes.

parent 2001a788
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment