diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 4 |
1 files changed, 0 insertions, 4 deletions
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++) { |