From 375ba1b483c5a1861df7a897020397f87575a8f9 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Wed, 8 Aug 2012 00:15:29 +0200 Subject: vfs_afsacl.c: Remove some unnecessary return; statements --- source3/modules/vfs_afsacl.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index 61a31458cf..ab7ef30e6b 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -217,8 +217,6 @@ static void add_afs_ace(struct afs_acl *acl, DEBUG(10, ("add_afs_ace: Added %s entry for %s with rights %d\n", ace->positive?"positive":"negative", ace->name, ace->rights)); - - return; } /* AFS ACLs in string form are a long string of fields delimited with \n. @@ -395,8 +393,6 @@ static void afs_to_nt_dir_rights(uint32 afs_rights, uint32 *nt_rights, /* Only lookup right */ *flag = SEC_ACE_FLAG_CONTAINER_INHERIT; } - - return; } #define AFS_FILE_RIGHTS (PRSFS_READ|PRSFS_WRITE|PRSFS_LOCK) @@ -422,7 +418,6 @@ static void split_afs_acl(struct afs_acl *acl, ace->rights & AFS_DIR_RIGHTS); } } - return; } static bool same_principal(struct afs_ace *x, struct afs_ace *y) -- cgit