All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-nonmm-stable] usr-remove-unnecessary-1-values-from-int-file.patch removed from -mm tree
@ 2022-10-03 21:22 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-10-03 21:22 UTC (permalink / raw)
  To: mm-commits, nicolas, masahiroy, zeming, akpm


The quilt patch titled
     Subject: usr/gen_init_cpio.c: remove unnecessary -1 values from int file
has been removed from the -mm tree.  Its filename was
     usr-remove-unnecessary-1-values-from-int-file.patch

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

------------------------------------------------------
From: Li zeming <zeming@nfschina.com>
Subject: usr/gen_init_cpio.c: remove unnecessary -1 values from int file
Date: Mon, 19 Sep 2022 09:44:06 +0800

The file variable is assigned first, it does not need to be initialized.

Link: https://lkml.kernel.org/r/20220919014406.3242-1-zeming@nfschina.com
Signed-off-by: Li zeming <zeming@nfschina.com>
Cc: Li zeming <zeming@nfschina.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 usr/gen_init_cpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/usr/gen_init_cpio.c~usr-remove-unnecessary-1-values-from-int-file
+++ a/usr/gen_init_cpio.c
@@ -326,7 +326,7 @@ static int cpio_mkfile(const char *name,
 	char s[256];
 	struct stat buf;
 	unsigned long size;
-	int file = -1;
+	int file;
 	int retval;
 	int rc = -1;
 	int namesize;
_

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:[~2022-10-03 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-03 21:22 [merged mm-nonmm-stable] usr-remove-unnecessary-1-values-from-int-file.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.