drivers core: remove assert_held_device_hotplug()
PATCH 6/6 drivers core: remove assert_held_device_hotplug()
From: Heiko Carstens <[email protected]>
Subject: drivers core: remove assert_held_device_hotplug()
The last caller of assert_held_device_hotplug() is gone, so remove it again.
Signed-off-by Heiko Carstens <[email protected]>
Acked-by Dan Williams <[email protected]>
Cc Michal Hocko <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Vladimir Davydov <[email protected]>
Cc Ben Hutchings <[email protected]>
Cc Gerald Schaefer <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Sebastian Ott <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/base/core.c | 5 ----- include/linux/device.h | 1 - 2 files changed, 6 deletions(-)
drivers/base/core.c renamed from drivers/base/core.c~drivers-core-remove-assert_held_device_hotplug +0 -4
@@ -639,11 +639,6 @@ int lock_device_hotplug_sysfs(void)return restart_syscall (); } -void assert_held_device_hotplug (void ) -{ -lockdep_assert_held (&device_hotplug_lock); -}