remove unused lock_cpu_hotplug_interruptible definition
PATCH 1/1 remove unused lock_cpu_hotplug_interruptible definition
aa95387774039096c11803c04011f1aa42d85758 removed the implementation of lock_cpu_hotplug_interruptible and all users of it. This stub definition for !CONFIG_HOTPLUG_CPU was left over -- kill it now.
Signed-off-by Nathan Lynch <[email protected]>
--- include/linux/cpu.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
include/linux/cpu.h +0 -1
@@ -120,7 +120,6 @@ static inline void cpuhotplug_mutex_unlock(struct mutex *cpu_hp_mutex)#define lock_cpu_hotplug () do { } while (0)#define unlock_cpu_hotplug () do { } while (0) -#define lock_cpu_hotplug_interruptible () 0#define hotcpu_notifier (fn, pri) do { (void)(fn); } while (0)#define register_hotcpu_notifier (nb) do { (void)(nb); } while (0)#define unregister_hotcpu_notifier (nb) do { (void)(nb); } while (0)
Signature · 1 line
1.5.2