[PATCH -next] drm/dp-mst: Fix unused variable warning

Shaokun Zhang zhangshaokun at hisilicon.com
Mon Oct 14 07:52:45 UTC 2019


Please ignore this mail. I will resend it again.

Thanks

On 2019/10/14 15:41, Shaokun Zhang wrote:
> diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c
> index 9364e4f42975..9cccc5e63309 100644
> --- a/drivers/gpu/drm/drm_dp_mst_topology.c
> +++ b/drivers/gpu/drm/drm_dp_mst_topology.c
> @@ -4184,8 +4184,6 @@ EXPORT_SYMBOL(drm_dp_mst_topology_state_funcs);
>  struct drm_dp_mst_topology_state *drm_atomic_get_mst_topology_state(struct drm_atomic_state *state,
>  								    struct drm_dp_mst_topology_mgr *mgr)
>  {
> -	struct drm_device *dev = mgr->dev;
> -
>  	return to_dp_mst_topology_state(drm_atomic_get_private_obj_state(state, &mgr->base));
>  }
>  EXPORT_SYMBOL(drm_atomic_get_mst_topology_state);
> 



More information about the dri-devel mailing list