mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-22 00:14:52 -04:00
drm/msm/dpu: Remove dead-code in dpu_encoder_helper_reset_mixers()
'mixer' is only zeroed and is not use. Remove it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Acked-By: Mahesh Bharadwaj Kannan <mahesh.kannan@oss.qualcomm.com>
Fixes: ae4d721ce1 ("drm/msm/dpu: add an API to reset the encoder related hw blocks")
Patchwork: https://patchwork.freedesktop.org/patch/679854/
Link: https://lore.kernel.org/r/8e3b2fbbf5440aa219feb667f5423c7479eb2656.1760040536.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
This commit is contained in:
committed by
Dmitry Baryshkov
parent
227ec96232
commit
762dd3eb0c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user