Commit 762dd3eb authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Dmitry Baryshkov
Browse files

drm/msm/dpu: Remove dead-code in dpu_encoder_helper_reset_mixers()

parent 227ec962
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2171,15 +2171,12 @@ void dpu_encoder_kickoff(struct drm_encoder *drm_enc)

static void dpu_encoder_helper_reset_mixers(struct dpu_encoder_phys *phys_enc)
{
	struct dpu_hw_mixer_cfg mixer;
	int i, num_lm;
	struct dpu_global_state *global_state;
	struct dpu_hw_blk *hw_lm[2];
	struct dpu_hw_mixer *hw_mixer[2];
	struct dpu_hw_ctl *ctl = phys_enc->hw_ctl;

	memset(&mixer, 0, sizeof(mixer));

	/* reset all mixers for this encoder */
	if (ctl->ops.clear_all_blendstages)
		ctl->ops.clear_all_blendstages(ctl);