1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #13433 from haukepetersen/fix_trickle_misc

sys/trickle: remove redundant pid assignment
This commit is contained in:
Koen Zandberg 2020-02-21 20:06:08 +01:00 committed by GitHub
commit f257765ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,8 +71,6 @@ void trickle_start(kernel_pid_t pid, trickle_t *trickle, uint16_t msg_type,
assert(Imin > 0); assert(Imin > 0);
assert((Imin << Imax) < (UINT32_MAX / 2)); assert((Imin << Imax) < (UINT32_MAX / 2));
trickle->pid = pid;
trickle->c = 0; trickle->c = 0;
trickle->k = k; trickle->k = k;
trickle->Imin = Imin; trickle->Imin = Imin;