mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
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:
parent
ee3f011250
commit
af695109e8
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user