]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the name == NULL check from xfs_attr_args_init
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Apr 2020 20:08:34 +0000 (16:08 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 29 Apr 2020 20:08:34 +0000 (16:08 -0400)
commit9c0d4ea9ce569bc9fae3ff451ae02d9e7aed275d
treef52140b7c5dfe2bc91390d3bf240d7fa4ea49fc4
parented7ea3baf3d59f0c93a179eee685d0db916ecd93
xfs: remove the name == NULL check from xfs_attr_args_init

Source kernel commit: 79f2280b9bfd54aa37b3fa4a80b0037bd29b4f0e

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c