[PATCH v1] mtd: ubi: drop unexpected word 'a' in comments
From: Jiang Jian
Date: Thu Jun 23 2022 - 03:29:37 EST
there is an unexpected word 'a' in the comments that need to be dropped
file - drivers/mtd/ubi/wl.c
line - 379
* This function returns a a wear leveling entry in case of success and
changed to:
* This function returns a wear leveling entry in case of success and
Signed-off-by: Jiang Jian <jiangjian@xxxxxxxxxx>
---
drivers/mtd/ubi/wl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index 55bae06cf408..f1fa78c1391b 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -376,7 +376,7 @@ static struct ubi_wl_entry *find_mean_wl_entry(struct ubi_device *ubi,
* refill_wl_user_pool().
* @ubi: UBI device description object
*
- * This function returns a a wear leveling entry in case of success and
+ * This function returns a wear leveling entry in case of success and
* NULL in case of failure.
*/
static struct ubi_wl_entry *wl_get_wle(struct ubi_device *ubi)
--
2.17.1