diff options
-rw-r--r-- | source3/smbd/open.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index e9637c8ce9..356a08fe42 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -201,9 +201,8 @@ NTSTATUS smbd_check_access_rights(struct connection_struct *conn, if (rejected_mask != 0) { return NT_STATUS_ACCESS_DENIED; - } else { - return NT_STATUS_OK; } + return NT_STATUS_OK; } static NTSTATUS check_parent_access(struct connection_struct *conn, |