- driver-core-remove-device_is_registered-in.patch removed from -mm tree

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

 



The patch titled
     driver core: remove device_is_registered() in device_move()
has been removed from the -mm tree.  Its filename was
     driver-core-remove-device_is_registered-in.patch

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

------------------------------------------------------
Subject: driver core: remove device_is_registered() in device_move()
From: Cornelia Huck <cornelia.huck@xxxxxxxxxx>

device_is_registered() will always be false for a device with no bus.  Remove
this check and trust the caller to know what they're doing.

Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/base/core.c |    4 ----
 1 files changed, 4 deletions(-)

diff -puN drivers/base/core.c~driver-core-remove-device_is_registered-in drivers/base/core.c
--- a/drivers/base/core.c~driver-core-remove-device_is_registered-in
+++ a/drivers/base/core.c
@@ -1007,10 +1007,6 @@ int device_move(struct device *dev, stru
 	if (!dev)
 		return -EINVAL;
 
-	if (!device_is_registered(dev)) {
-		error = -EINVAL;
-		goto out;
-	}
 	new_parent = get_device(new_parent);
 	if (!new_parent) {
 		error = -EINVAL;
_

Patches currently in -mm which might be from cornelia.huck@xxxxxxxxxx are

driver-core-per-subsystem-multithreaded-probing.patch
driver-core-dont-fail-attaching-the-device-if-it.patch
git-s390.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