Skip to contentSkip to conversation

mm-cma-remove-unnecessary-initialization-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: cma: remove unnecessary initialization of ret
has been removed from the -mm tree. Its filename was
mm-cma-remove-unnecessary-initialization-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: cma: remove unnecessary initialization of ret
Date: Tue, 5 Dec 2023 10:17:51 +0800

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

---

 mm/cma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/cma.c renamed from mm/cma.c~mm-cma-remove-unnecessary-initialization-of-ret +1 -1
@@ -244,7 +244,7 @@ int __init cma_declare_contiguous_nid(ph
 {
 	phys_addr_t memblock_end = memblock_end_of_DRAM();
 	phys_addr_t highmem_start;
-	int ret = 0;
+	int ret;
 
 	/*
 	 * We can't use __pa(high_memory) directly, since high_memory

_

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