summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-08-12 03:33:17 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 19:57:58 +0200
commitaf44c12fe7c9704c4d185446a8ffdea18792017d (patch)
tree437146757b805ba188580c93c2e22ccbf713c47c /mm
parentmm/page_alloc.c: delete or fix duplicated words (diff)
downloadlinux-af44c12fe7c9704c4d185446a8ffdea18792017d.tar.xz
linux-af44c12fe7c9704c4d185446a8ffdea18792017d.zip
mm/shmem.c: delete duplicated word
Drop the repeated word "the". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Zi Yan <ziy@nvidia.com> Link: http://lkml.kernel.org/r/20200801173822.14973-11-rdunlap@infradead.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 49bde088a7ea..271548ca20f3 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1686,7 +1686,7 @@ static int shmem_replace_page(struct page **pagep, gfp_t gfp,
* Swap in the page pointed to by *pagep.
* Caller has to make sure that *pagep contains a valid swapped page.
* Returns 0 and the page in pagep if success. On failure, returns the
- * the error code and NULL in *pagep.
+ * error code and NULL in *pagep.
*/
static int shmem_swapin_page(struct inode *inode, pgoff_t index,
struct page **pagep, enum sgp_type sgp,