Re: [PATCH] drm/vmwgfx: fix repeated words in comments

From: Randy Dunlap
Date: Thu Sep 08 2022 - 10:05:20 EST




On 9/8/22 06:15, wangjianli wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: wangjianli <wangjianli@xxxxxxxxxx>
> ---
> drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
> index f085dbd4736d..7677475b5d93 100644
> --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
> +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
> @@ -409,7 +409,7 @@ static int vmw_view_res_val_add(struct vmw_sw_context *sw_context,
>
> /**
> * vmw_view_id_val_add - Look up a view and add it and the surface it's pointing
> - * to to the validation list.

No, it's correct without this change.

> + * to the validation list.
> *
> * @sw_context: The software context holding the validation list.
> * @view_type: The view type to look up.

--
~Randy