All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch removed from -mm tree
@ 2013-07-08 19:37 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2013-07-08 19:37 UTC (permalink / raw)
  To: mm-commits, jbarnes, bjorn.helgaas, haokexin

Subject: [merged] kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch removed from -mm tree
To: haokexin@gmail.com,bjorn.helgaas@hp.com,jbarnes@virtuousgeek.org,mm-commits@vger.kernel.org
From: akpm@linux-foundation.org
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 <haokexin@gmail.com>
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.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/resource.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN kernel/resource.c~kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource kernel/resource.c
--- a/kernel/resource.c~kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource
+++ a/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 haokexin@gmail.com are

origin.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-08 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 19:37 [merged] kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch removed from -mm tree akpm

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.