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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [merged] kernel-resourcec-remove-the-unneeded-assignment-in-function-__find_resource.patch removed from -mm tree
To: haokexin@xxxxxxxxx,bjorn.helgaas@xxxxxx,jbarnes@xxxxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx>
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@xxxxxxxxx>
Cc: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxx are

origin.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux