Re: [PATCH] drm/msm/dpu: remove unused variable cmd_enc

2021-05-26 Thread Austin Kim
2021년 5월 21일 (금) 오후 1:16, Austin Kim 님이 작성: > > After the call to to_dpu_encoder_phys_cmd() is made, > 'cmd_enc' is not used. Where to_dpu_encoder_phys_cmd() is simply replaced with > container_of(x, struct dpu_encoder_phys_cmd, base) by compiler. > > So it had better remove W=1 kernel build warnin

[PATCH] drm/msm/dpu: remove unused variable cmd_enc

2021-05-20 Thread Austin Kim
After the call to to_dpu_encoder_phys_cmd() is made, 'cmd_enc' is not used. Where to_dpu_encoder_phys_cmd() is simply replaced with container_of(x, struct dpu_encoder_phys_cmd, base) by compiler. So it had better remove W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys