summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kmod.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 64a6d9ff86c3..8ceea8e842b7 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -264,22 +264,6 @@ out:
return sub_info.retval;
}
-/*
- * This is for the serialisation of device probe() functions
- * against device open() functions
- */
-static DECLARE_MUTEX(dev_probe_sem);
-
-void dev_probe_lock(void)
-{
- down(&dev_probe_sem);
-}
-
-void dev_probe_unlock(void)
-{
- up(&dev_probe_sem);
-}
-
EXPORT_SYMBOL(call_usermodehelper);
#ifdef CONFIG_KMOD