On 29/08/2023 21:47, Stephen Boyd wrote:
We read the downstream port count and capability info but never use it
anywhere. Remove 'ds_port_cnt' and 'ds_cap_info' and any associated code
from this driver. Fold the check for 'dfp_present' into a call to
drm_dp_is_branch() at the one place it is used to get rid of any member
storage related to downstream ports.

Cc: Vinod Polimera <quic_vpoli...@quicinc.com>
Cc: Kuogee Hsieh <quic_khs...@quicinc.com>
Signed-off-by: Stephen Boyd <swb...@chromium.org>
---
  drivers/gpu/drm/msm/dp/dp_panel.c | 25 +++----------------------
  drivers/gpu/drm/msm/dp/dp_panel.h |  6 ------
  2 files changed, 3 insertions(+), 28 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>

--
With best wishes
Dmitry

Reply via email to