Skip to contentSkip to conversation

drm/vmwgfx: fix repeated words in comments

PATCH In review wangjianli 2 participants 2 messages Sep 8, 2022

Subsystems (3)
lore
Share & tools
lore

wangjianli

author
#0 lore raw

PATCH 1/1 drm/vmwgfx: fix repeated words in comments

Delete the redundant word 'to'.

---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
index f085dbd4736d..7677475b5d93 100644
@@ -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.
+ * to the validation list.
  *
  * @sw_context: The software context holding the validation list.
  * @view_type: The view type to look up.
Signature · 1 line
2.36.1
#1 lore raw
Quoted 12 lines · wangjianli

Delete the redundant word 'to'.

---
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0 -0
index f085dbd4736d..7677475b5d93 100644

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c static int vmw_view_res_val_add(struct vmw_sw_context *sw_context, · line 412

Quoted 4 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0 -1
@@ -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.

Quoted 4 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -0
+ * to the validation list.
  *
  * @sw_context: The software context holding the validation list.
  * @view_type: The view type to look up.
Signature · 1 line
~Randy