diff --git a/sys/auto_init/can/auto_init_can.c b/sys/auto_init/can/auto_init_can.c index cac1c884c05f..2049a3e96097 100644 --- a/sys/auto_init/can/auto_init_can.c +++ b/sys/auto_init/can/auto_init_can.c @@ -91,7 +91,6 @@ void auto_init_candev(void) case CAN_DRIVER_STM32: candev_stm32_init(&can_stm32[config_index], &can_config_candev_stm32[config_index]); device = (candev_t *)&can_stm32[config_index]; - name = can_stm32_thread_names[config_index]; snprintf(name, NAME_LENGTH - 1, CAN_STM32_NAME"_%d", config_index); break; #endif