Skip to contentSkip to conversation

usr-remove-unnecessary-1-values-from-int-file.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Oct 3, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

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 <[email protected]>
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.

---

 usr/gen_init_cpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
usr/gen_init_cpio.c renamed from usr/gen_init_cpio.c~usr-remove-unnecessary-1-values-from-int-file +1 -1
@@ -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 [email protected] are