summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/io.c
diff options
context:
space:
mode:
authorJilin Yuan <yuanjilin@cdjrlc.com>2022-08-10 21:38:56 +0800
committerRichard Weinberger <richard@nod.at>2022-09-21 11:32:27 +0200
commitec1f97f501a746403990515bbefcaecd7562b042 (patch)
treec57ec1bb58f07e80785be9adcb824d44a36dda70 /drivers/mtd/ubi/io.c
parent818f9e8353c8e60dd0876bdac445e8fad346e50a (diff)
downloadlinux-stable-ec1f97f501a746403990515bbefcaecd7562b042.tar.gz
linux-stable-ec1f97f501a746403990515bbefcaecd7562b042.tar.bz2
linux-stable-ec1f97f501a746403990515bbefcaecd7562b042.zip
ubi: Fix repeated words in comments
Delete the redundant word 'a'. Delete the redundant word 'the'. Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/io.c')
-rw-r--r--drivers/mtd/ubi/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index 8a7306cc1947..01b644861253 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -1147,7 +1147,7 @@ fail:
* @ubi: UBI device description object
* @pnum: the physical eraseblock number to check
*
- * This function returns zero if the erase counter header is all right and and
+ * This function returns zero if the erase counter header is all right and
* a negative error code if not or if an error occurred.
*/
static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum)