Commit 7a781087 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

media: v4l: vsp1: Remove unused field from vsp1_drm_pipeline structure

The vsp1_drm_pipeline enabled field is set but never used. Remove it.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 9fd099b1
...@@ -273,10 +273,6 @@ EXPORT_SYMBOL_GPL(vsp1_du_setup_lif); ...@@ -273,10 +273,6 @@ EXPORT_SYMBOL_GPL(vsp1_du_setup_lif);
*/ */
void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index) void vsp1_du_atomic_begin(struct device *dev, unsigned int pipe_index)
{ {
struct vsp1_device *vsp1 = dev_get_drvdata(dev);
struct vsp1_drm_pipeline *drm_pipe = &vsp1->drm->pipe[pipe_index];
drm_pipe->enabled = drm_pipe->pipe.num_inputs != 0;
} }
EXPORT_SYMBOL_GPL(vsp1_du_atomic_begin); EXPORT_SYMBOL_GPL(vsp1_du_atomic_begin);
......
...@@ -20,13 +20,11 @@ ...@@ -20,13 +20,11 @@
/** /**
* vsp1_drm_pipeline - State for the API exposed to the DRM driver * vsp1_drm_pipeline - State for the API exposed to the DRM driver
* @pipe: the VSP1 pipeline used for display * @pipe: the VSP1 pipeline used for display
* @enabled: pipeline state at the beginning of an update
* @du_complete: frame completion callback for the DU driver (optional) * @du_complete: frame completion callback for the DU driver (optional)
* @du_private: data to be passed to the du_complete callback * @du_private: data to be passed to the du_complete callback
*/ */
struct vsp1_drm_pipeline { struct vsp1_drm_pipeline {
struct vsp1_pipeline pipe; struct vsp1_pipeline pipe;
bool enabled;
/* Frame synchronisation */ /* Frame synchronisation */
void (*du_complete)(void *, bool); void (*du_complete)(void *, bool);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment