diff --git a/drivers/usb/udc/udc_bflb_v1.c b/drivers/usb/udc/udc_bflb_v1.c index feb280c588706..74875d3010e3d 100644 --- a/drivers/usb/udc/udc_bflb_v1.c +++ b/drivers/usb/udc/udc_bflb_v1.c @@ -1336,7 +1336,6 @@ static int udc_bflb_v1_ep_dequeue(const struct device *dev, const mm_reg_t base = config->base; uint8_t ep_idx = USB_EP_GET_IDX(ep_cfg->addr); unsigned int lock_key; - struct net_buf *buf; lock_key = irq_lock();