summaryrefslogtreecommitdiff
path: root/source4/lib/util/capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util/capability.c')
-rw-r--r--source4/lib/util/capability.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/lib/util/capability.c b/source4/lib/util/capability.c
index 683bc99723..7d8222fe11 100644
--- a/source4/lib/util/capability.c
+++ b/source4/lib/util/capability.c
@@ -102,15 +102,3 @@ static BOOL set_inherited_process_capability( uint32_t cap_flag, BOOL enable )
return True;
}
#endif
-
-/**
- Gain the oplock capability from the kernel if possible.
-**/
-
-_PUBLIC_ void oplock_set_capability(BOOL this_process, BOOL inherit)
-{
-#if HAVE_KERNEL_OPLOCKS_IRIX
- set_process_capability(KERNEL_OPLOCK_CAPABILITY,this_process);
- set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY,inherit);
-#endif
-}