1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core/lib/cib: remove superfluous init

This patch removes a superfluous init of the cib. The struct is already
initialized by the test fixture's setup function.
This commit is contained in:
Joshua DeWeese 2023-08-29 14:51:57 -04:00
parent 45f865965f
commit 45752a3002

View File

@ -51,7 +51,6 @@ static void test_cib_get__overflow(void)
static void test_cib_peek(void)
{
cib_init(&cib, TEST_CIB_SIZE);
TEST_ASSERT_EQUAL_INT(-1, cib_peek(&cib));
TEST_ASSERT_EQUAL_INT(0, cib_put(&cib));
TEST_ASSERT_EQUAL_INT(0, cib_peek(&cib));