vfs_afsacl.c: Remove some unnecessary return; statements
authorBjörn Jacke <bj@sernet.de>
Tue, 7 Aug 2012 22:15:29 +0000 (00:15 +0200)
committerBjoern Jacke <bj@sernet.de>
Tue, 7 Aug 2012 22:21:26 +0000 (00:21 +0200)
source3/modules/vfs_afsacl.c

index 61a31458cf44f1013c62825b2f67c84d0f01398c..ab7ef30e6b22ba03ca667b86f745993cb56740b9 100644 (file)
@@ -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)