summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2020-01-16 13:50:03 -0700
committerJeremy Allison <jra@samba.org>2020-01-21 22:08:41 +0000
commit01e563be72f8e37a1f4fafe7a5a8b2c7b19db7c8 (patch)
treee7dd694fd861dc027c921c37a50252d849906de5
parent6a19404e98ed1ed234c6948e78d1b1304c48a45d (diff)
downloadsamba-01e563be72f8e37a1f4fafe7a5a8b2c7b19db7c8.tar.gz
smbd: Remove unused define
CAP_LEASE is not used in the file oplock_linux.c, so remove it there. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/smbd/oplock_linux.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c
index 08829582fc6..44ed976b92c 100644
--- a/source3/smbd/oplock_linux.c
+++ b/source3/smbd/oplock_linux.c
@@ -33,10 +33,6 @@
#define F_GETLEASE 1025
#endif
-#ifndef CAP_LEASE
-#define CAP_LEASE 28
-#endif
-
#ifndef RT_SIGNAL_LEASE
#define RT_SIGNAL_LEASE (SIGRTMIN+1)
#endif