[v4,09/19] remove repeated word 'worker'

Message ID 20230222162539.127103-10-stephen@networkplumber.org (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series Remove repeated words in comments and messages |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Feb. 22, 2023, 4:25 p.m. UTC
  Found by doing duplicate word scan.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/distributor/rte_distributor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Hunt, David Feb. 22, 2023, 4:30 p.m. UTC | #1
On 22/02/2023 16:25, Stephen Hemminger wrote:
> Found by doing duplicate word scan.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   lib/distributor/rte_distributor.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/distributor/rte_distributor.c b/lib/distributor/rte_distributor.c
> index 3969b2ea7e8a..c1a721dd821d 100644
> --- a/lib/distributor/rte_distributor.c
> +++ b/lib/distributor/rte_distributor.c
> @@ -576,7 +576,7 @@ rte_distributor_process(struct rte_distributor *d,
>   					}
>   				}
>   
> -				/* Add to current worker worker */
> +				/* Add to current worker */
>   				unsigned int idx = bl->count++;
>   
>   				bl->tags[idx] = new_tag;


Acked-by: David Hunt <david.hunt@intel.com>
  

Patch

diff --git a/lib/distributor/rte_distributor.c b/lib/distributor/rte_distributor.c
index 3969b2ea7e8a..c1a721dd821d 100644
--- a/lib/distributor/rte_distributor.c
+++ b/lib/distributor/rte_distributor.c
@@ -576,7 +576,7 @@  rte_distributor_process(struct rte_distributor *d,
 					}
 				}
 
-				/* Add to current worker worker */
+				/* Add to current worker */
 				unsigned int idx = bl->count++;
 
 				bl->tags[idx] = new_tag;