diff --git a/net/can/bcm.c b/net/can/bcm.c index d14ea12affb1..9525b7abbbc7 100644 --- a/net/can/bcm.c +++ b/net/can/bcm.c @@ -395,7 +395,7 @@ static void bcm_tx_start_timer(struct bcm_op *op) static enum hrtimer_restart bcm_tx_timeout_handler(struct hrtimer *hrtimer) { struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); - struct bcm_msg_head msg_head; + struct bcm_msg_head msg_head = {}; if (op->kt_ival1 && (op->count > 0)) { op->count--;