From: Volker Lendecke Date: Sat, 18 Feb 2012 15:49:47 +0000 (+0100) Subject: s3: Remove a pointless else branch X-Git-Tag: samba-4.0.0alpha18~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7af3dfd3af80e146931260d6de100a9901e440bc;p=thirdparty%2Fsamba.git s3: Remove a pointless else branch Autobuild-User: Volker Lendecke Autobuild-Date: Sun Feb 19 23:14:15 CET 2012 on sn-devel-104 --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index e9637c8ce9c..356a08fe420 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,