]> www.infradead.org Git - users/willy/linux.git/commit
mm: filemap: remove unnecessary iitialization of ret
authorLi zeming <zeming@nfschina.com>
Tue, 5 Dec 2023 02:29:54 +0000 (10:29 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 12 Dec 2023 18:57:07 +0000 (10:57 -0800)
commita1748f85bec936d87cac8a9785fb2a38147fc998
tree874eeb3ce05de5e6ef063e1dcde223d32fefa8b8
parent683ec99f12f4c386c23bed7f6a8ef44db5a4999a
mm: filemap: remove unnecessary iitialization of ret

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