Skip to contentSkip to conversation

mm-filemap-remove-unnecessary-iitialization-of-ret.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Dec 12, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: filemap: remove unnecessary iitialization of ret
has been removed from the -mm tree. Its filename was
mm-filemap-remove-unnecessary-iitialization-of-ret.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Li zeming <[email protected]>
Subject: mm: filemap: remove unnecessary iitialization of ret
Date: Tue, 5 Dec 2023 10:29:54 +0800

The ret variable can be defined without assigning a value, as it is assigned before use.

---

 mm/filemap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c renamed from mm/filemap.c~mm-filemap-remove-unnecessary-iitialization-of-ret +1 -1
@@ -1623,7 +1623,7 @@ EXPORT_SYMBOL_GPL(__folio_lock_killable)
 static int __folio_lock_async(struct folio *folio, struct wait_page_queue *wait)
 {
 	struct wait_queue_head *q = folio_waitqueue(folio);
-	int ret = 0;
+	int ret;
 
 	wait->folio = folio;
 	wait->bit_nr = PG_locked;

_

Patches currently in -mm which might be from [email protected] are