diff mbox series

media: stm32: dma2d: remove unused fb_buf

Message ID 6f66a0f5-1f0d-b8c5-469b-b211fbe5ab04@xs4all.nl
State Accepted
Commit 30c758a48a98c786ef77c655d8e290c591a5beef
Headers show
Series media: stm32: dma2d: remove unused fb_buf | expand

Commit Message

Hans Verkuil March 1, 2023, 11:13 a.m. UTC
Drop the unused struct v4l2_framebuffer fb_buf in struct dma2d_ctx.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
CC: Hugues Fruchet <hugues.fruchet@foss.st.com>
---
 drivers/media/platform/st/stm32/dma2d/dma2d.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/platform/st/stm32/dma2d/dma2d.h b/drivers/media/platform/st/stm32/dma2d/dma2d.h
index 3f03a7ca9ee3..af12739fc774 100644
--- a/drivers/media/platform/st/stm32/dma2d/dma2d.h
+++ b/drivers/media/platform/st/stm32/dma2d/dma2d.h
@@ -90,8 +90,6 @@  struct dma2d_ctx {
 	struct dma2d_frame	cap;
 	struct dma2d_frame	out;
 	struct dma2d_frame	bg;
-	/* fb_buf always point to bg address */
-	struct v4l2_framebuffer	fb_buf;
 	/*
 	 * MODE[17:16] of DMA2D_CR
 	 */