From: Christof Schmitt Date: Thu, 16 Jan 2020 20:50:03 +0000 (-0700) Subject: smbd: Remove unused define X-Git-Tag: ldb-2.1.1~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e563be72f8e37a1f4fafe7a5a8b2c7b19db7c8;p=thirdparty%2Fsamba.git smbd: Remove unused define CAP_LEASE is not used in the file oplock_linux.c, so remove it there. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- 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