From 7af3dfd3af80e146931260d6de100a9901e440bc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 18 Feb 2012 16:49:47 +0100 Subject: s3: Remove a pointless else branch Autobuild-User: Volker Lendecke Autobuild-Date: Sun Feb 19 23:14:15 CET 2012 on sn-devel-104 --- source3/smbd/open.c | 3 +-- 1 file changed, 1 insertion(+), 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, -- cgit