Found by doing duplicate word scan.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/test/test_resource.c | 2 +-
drivers/common/sfc_efx/base/siena_nvram.c | 2 +-
lib/pipeline/rte_swx_ctl.c | 2 +-
lib/power/guest_channel.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
@@ -45,7 +45,7 @@ static int test_resource_c(void)
r->name);
TEST_ASSERT_SUCCESS(resource_fwrite_file(r, "test_resource.c"),
- "Failed to to write file %s", r->name);
+ "Failed to write file %s", r->name);
f = fopen("test_resource.c", "r");
TEST_ASSERT_NOT_NULL(f,
@@ -532,7 +532,7 @@ siena_nvram_partn_get_version(
: MC_CMD_NVRAM_TYPE_DYNAMIC_CFG_PORT1;
/*
* Ingore missing partitions on port 2, assuming they're due
- * to to running on a single port part.
+ * to running on a single port part.
*/
if ((1 << dcfg_partn) & ~enp->en_u.siena.enu_partn_mask) {
if (entry->port == 2)
@@ -1582,7 +1582,7 @@ rte_swx_ctl_pipeline_table_entry_delete(struct rte_swx_ctl_pipeline *ctl,
CHECK(!table_entry_check(ctl, table_id, entry, 1, 0), EINVAL);
/* The entry is found in the table->entries list:
- * - Move the existing entry from the table->entries list to to the
+ * - Move the existing entry from the table->entries list to the
* table->pending_delete list.
*/
existing_entry = table_entries_find(table, entry);
@@ -74,7 +74,7 @@ guest_channel_host_connect(const char *path, unsigned int lcore_id)
fd_path, lcore_id);
fd = open(fd_path, O_RDWR);
if (fd < 0) {
- RTE_LOG(ERR, GUEST_CHANNEL, "Unable to to connect to '%s' with error "
+ RTE_LOG(ERR, GUEST_CHANNEL, "Unable to connect to '%s' with error "
"%s\n", fd_path, strerror(errno));
return -1;
}