NFSD: Remove unnecessary posix_acl_entry pointer initialization

The posix_acl_entry pointer pe is already initialized by the
FOREACH_ACL_ENTRY() macro. Remove the unnecessary initialization.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
Thorsten Blum 2024-09-23 10:05:46 +02:00 committed by Chuck Lever
parent 3c63d8946e
commit b7165ab074

View File

@ -198,8 +198,6 @@ summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas)
memset(pas, 0, sizeof(*pas)); memset(pas, 0, sizeof(*pas));
pas->mask = 07; pas->mask = 07;
pe = acl->a_entries + acl->a_count;
FOREACH_ACL_ENTRY(pa, acl, pe) { FOREACH_ACL_ENTRY(pa, acl, pe) {
switch (pa->e_tag) { switch (pa->e_tag) {
case ACL_USER_OBJ: case ACL_USER_OBJ: