From c1f93647a96b65996ce96a55972a29037e5263cd Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 27 Jan 2020 15:58:20 +0100 Subject: [PATCH] tests/rng: remove explicit zeroing of xtimer members --- tests/rng/test.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/rng/test.c b/tests/rng/test.c index bd2989a59f..41bf6f229e 100644 --- a/tests/rng/test.c +++ b/tests/rng/test.c @@ -412,10 +412,6 @@ void test_speed(uint32_t duration) /* collect samples as long as timer has not expired */ unsigned running = 1; xtimer_t xt = { - .start_time = 0, - .long_start_time = 0, - .offset = 0, - .long_offset = 0, .callback = cb_speed_timeout, .arg = &running, }; @@ -446,10 +442,6 @@ void test_speed_range(uint32_t duration, uint32_t low_thresh, uint32_t high_thre /* collect samples as long as timer has not expired */ unsigned running = 1; xtimer_t xt = { - .start_time = 0, - .long_start_time = 0, - .offset = 0, - .long_offset = 0, .callback = cb_speed_timeout, .arg = &running, };