OSDN Git Service

xfs: remove the name == NULL check from xfs_attr_args_init
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:32 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:52 +0000 (20:55 -0800)
commit79f2280b9bfd54aa37b3fa4a80b0037bd29b4f0e
tree210f7c65cac76044b34e19f881d9b5e94481e078
parentd0ce643911280a0f281156674203a2ca8048aed1
xfs: remove the name == NULL check from xfs_attr_args_init

All callers provide a valid name pointer, remove the redundant check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_attr.c