Skip to contentSkip to conversation

kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:37:20 -0700

The patch titled
Subject: kernel/resource.c: remove the unneeded assignment in function __find_resource
has been removed from the -mm tree. Its filename was
kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Kevin Hao <[email protected]>
Subject: kernel/resource.c: remove the unneeded assignment in function __find_resource

This line was introduced by fcb11918 ("resources: add arch hook for preventing allocation in reserved areas"). But the struct tmp was already assigned to *new in the above line, so this seems superfluous. Just remove it.

---

 kernel/resource.c |    1 -
 1 file changed, 1 deletion(-)
kernel/resource.c renamed from kernel/resource.c~kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource +0 -1
diff -puN kernel/resource.c~kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource kernel/resource.c
@@ -449,7 +449,6 @@ static int __find_resource(struct resour
 	struct resource *this = root->child;
 	struct resource tmp = *new, avail, alloc;
 
-	tmp.flags = new->flags;
 	tmp.start = root->start;
 	/*
 	 * Skip past an allocated resource that starts at 0, since the assignment

_

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

origin.patch