Skip to content

Commit e0417c7

Browse files
alexapostolukartben
authored andcommitted
Tests: Subsys: Logging: removed unused variable
Removed unused variable test_msg. Signed-off-by: Alex Apostolu <[email protected]>
1 parent 20489a1 commit e0417c7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/subsys/logging/log_syst/src/mock_backend.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <stdlib.h>
1212

1313
static uint32_t log_format_current = CONFIG_LOG_BACKEND_MOCK_OUTPUT_DEFAULT;
14-
union log_msg_generic *test_msg;
1514

1615
static uint8_t mock_output_buf[1];
1716
uint8_t test_output_buf[256];
@@ -47,8 +46,6 @@ static void process(const struct log_backend *const backend,
4746
{
4847
uint32_t flags = log_backend_std_get_flags();
4948

50-
test_msg = msg;
51-
5249
log_format_func_t log_output_func = log_format_func_t_get(log_format_current);
5350

5451
log_output_func(&log_output_mock, &msg->log, flags);

0 commit comments

Comments
 (0)