Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thorsten Blum and committed by
Chuck Lever
b7165ab0 3c63d894

-2
-2
fs/nfsd/nfs4acl.c
··· 198 198 memset(pas, 0, sizeof(*pas)); 199 199 pas->mask = 07; 200 200 201 - pe = acl->a_entries + acl->a_count; 202 - 203 201 FOREACH_ACL_ENTRY(pa, acl, pe) { 204 202 switch (pa->e_tag) { 205 203 case ACL_USER_OBJ: