posix_acl: remove useless code

This is just a trivial clean-up: it removes an unnecessary return branch.

Signed-off-by: Luis Henriques <luis@igalia.com>
Link: https://patch.msgid.link/20260629154554.29093-1-luis@igalia.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
Luis Henriques 2026-06-29 16:45:54 +01:00 committed by Christian Brauner
parent ee3f011250
commit af695109e8
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -740,8 +740,6 @@ static int posix_acl_fix_xattr_common(const void *value, size_t size)
count = posix_acl_xattr_count(size);
if (count < 0)
return -EINVAL;
if (count == 0)
return 0;
return count;
}