* [merged mm-stable] mm-filemap-remove-unnecessary-iitialization-of-ret.patch removed from -mm tree
@ 2023-12-12 18:59 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-12-12 18:59 UTC (permalink / raw)
To: mm-commits, willy, zeming, akpm
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 <zeming@nfschina.com>
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.
Link: https://lkml.kernel.org/r/20231205022954.101045-1-zeming@nfschina.com
Signed-off-by: Li zeming <zeming@nfschina.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/filemap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/filemap.c~mm-filemap-remove-unnecessary-iitialization-of-ret
+++ a/mm/filemap.c
@@ -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 zeming@nfschina.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-12 18:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 18:59 [merged mm-stable] mm-filemap-remove-unnecessary-iitialization-of-ret.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.