Skip to content

Commit 6c99888

Browse files
LucasTamboraescolar
authored andcommitted
drivers: video: esp32: Fix unused variables
Fix build warning for unused variables. Signed-off-by: Lucas Tamborrino <[email protected]>
1 parent 6164497 commit 6c99888

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/video_esp32_dvp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ void video_esp32_dma_rx_done(const struct device *dev, void *user_data, uint32_t
8989
int status)
9090
{
9191
struct video_esp32_data *data = user_data;
92-
int ret = 0;
9392

9493
if (status == DMA_STATUS_BLOCK) {
9594
LOG_DBG("received block");
@@ -278,7 +277,6 @@ static int video_esp32_set_fmt(const struct device *dev, enum video_endpoint_id
278277
static int video_esp32_enqueue(const struct device *dev, enum video_endpoint_id ep,
279278
struct video_buffer *vbuf)
280279
{
281-
const struct video_esp32_config *cfg = dev->config;
282280
struct video_esp32_data *data = dev->data;
283281

284282
if (ep != VIDEO_EP_OUT) {

0 commit comments

Comments
 (0)