posix_acl: remove useless code
PATCH 1/1 posix_acl: remove useless code
This is just a trivial clean-up: it removes an unnecessary return branch.
Signed-off-by Luis Henriques <[email protected]>
--- fs/posix_acl.c | 2 -- 1 file changed, 2 deletions(-)
fs/posix_acl.c +0 -2
@@ -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; }
Quoted 1 line · Luis Henriques
posix_acl: remove useless code
Applied to the vfs-7.3.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.3.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-7.3.misc
[1/1] posix_acl: remove useless code
https://git.kernel.org/vfs/vfs/c/af695109e830