Commit 15c9e10d authored by Heiko Carstens's avatar Heiko Carstens Committed by Linus Torvalds
Browse files

drivers core: remove assert_held_device_hotplug()

The last caller of assert_held_device_hotplug() is gone, so remove it again.


Signed-off-by: default avatarHeiko Carstens <>
Acked-by: default avatarDan Williams <>
Cc: Michal Hocko <>
Cc: "Rafael J. Wysocki" <>
Cc: Vladimir Davydov <>
Cc: Ben Hutchings <>
Cc: Gerald Schaefer <>
Cc: Martin Schwidefsky <>
Cc: Sebastian Ott <>
Cc: Greg Kroah-Hartman <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 55adc1d0
......@@ -639,11 +639,6 @@ int lock_device_hotplug_sysfs(void)
return restart_syscall();
void assert_held_device_hotplug(void)
static inline int device_is_not_partition(struct device *dev)
......@@ -1140,7 +1140,6 @@ static inline bool device_supports_offline(struct device *dev)
extern void lock_device_hotplug(void);
extern void unlock_device_hotplug(void);
extern int lock_device_hotplug_sysfs(void);
void assert_held_device_hotplug(void);
extern int device_offline(struct device *dev);
extern int device_online(struct device *dev);
extern void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment