]> err.no Git - linux-2.6/commit
driver core: Remove device_is_registered() in device_move().
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 8 Jan 2007 19:16:41 +0000 (20:16 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:11 +0000 (10:37 -0800)
commit717e48c29d9a58f4d31c1651bec364212da5f6b2
treeff2ca86080acb974b89d4a68997528f1b5bf3533
parent43cb76d91ee85f579a69d42bc8efc08bac560278
driver core: Remove device_is_registered() in device_move().

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@de.ibm.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c