diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-08 18:21:22 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-16 17:07:23 +0100 |
commit | c64dd49b5112215730db8a2c3ac38c2e03b09e73 (patch) | |
tree | f10b55356083d3431c66cda12b94cb931c77b936 /include/scsi | |
parent | xfs: streamline xfs_attr3_leaf_inactive (diff) | |
download | linux-c64dd49b5112215730db8a2c3ac38c2e03b09e73.tar.xz linux-c64dd49b5112215730db8a2c3ac38c2e03b09e73.zip |
xfs: clean up xfs_buf_item_get_format return value
The only thing that can cause a nonzero return from
xfs_buf_item_get_format is if the kmem_alloc fails, which it can't.
Get rid of all the unnecessary error handling.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions