diff options
| author | Luis Henriques <luis@igalia.com> | 2026-06-29 16:45:54 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-30 12:48:38 +0200 |
| commit | af695109e83085441d95e65d5e7795681b303500 (patch) | |
| tree | 79c862c57cce1d4414b5709e2670541f6ddfe59a | |
| parent | ee3f011250104129893d8e9599147e457d4d7280 (diff) | |
| download | linux-stable-af695109e83085441d95e65d5e7795681b303500.tar.gz linux-stable-af695109e83085441d95e65d5e7795681b303500.zip | |
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>
| -rw-r--r-- | fs/posix_acl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/posix_acl.c b/fs/posix_acl.c index b4bfe4ddf64e..6df5de23aac4 100644 --- a/fs/posix_acl.c +++ b/fs/posix_acl.c @@ -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; } |
