diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-12-03 16:43:19 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-12-09 09:49:38 -0800 |
commit | 88269b880a8ea38cf607e684906f3b00acd5b56b (patch) | |
tree | 4d1e19c36efff133b828a7fa088e5dc10e84cc58 /fs/xfs/xfs_globals.c | |
parent | b3b29cd1069c56fbfdd63e650372530f2e26e911 (diff) | |
download | linux-88269b880a8ea38cf607e684906f3b00acd5b56b.tar.bz2 |
xfs: remove unnecessary null check in xfs_generic_create
The function posix_acl_release() test the passed-in argument and
move on only when it is non-null, so maybe the null check in
xfs_generic_create is unnecessary.
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_globals.c')
0 files changed, 0 insertions, 0 deletions