Minor changes.
This commit is contained in:
parent
7341a1973c
commit
508bb9d91e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue