From d0878b3b8179b1cf061e1058bacbe670363b51c6 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 22 Jun 2012 16:37:26 +0200 Subject: s3-smbd: Remove deprecated 'share modes' option. --- source3/smbd/open.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index c2bf8edb7a..c88fe65a34 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1038,10 +1038,6 @@ static NTSTATUS open_mode_check(connection_struct *conn, } #endif - if (!lp_share_modes(SNUM(conn))) { - return NT_STATUS_OK; - } - /* Now we check the share modes, after any oplock breaks. */ for(i = 0; i < lck->data->num_share_modes; i++) { -- cgit