diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-08 09:21:22 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-16 08:07:23 -0800 |
commit | c64dd49b5112215730db8a2c3ac38c2e03b09e73 (patch) | |
tree | f10b55356083d3431c66cda12b94cb931c77b936 /fs/xfs/xfs_dquot.h | |
parent | 0bb9d159bd018b271e783d3b2d3bc82fa0727321 (diff) |
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 'fs/xfs/xfs_dquot.h')
0 files changed, 0 insertions, 0 deletions