diff options
author | Joseph Qi <[email protected]> | 2020-12-04 13:38:42 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-12-09 09:49:38 -0800 |
commit | 2e984badbcc0f1cf284441c566ca4309fe59ac05 (patch) | |
tree | 8c6196c52bcabcaa0d34a7623a1bb73618018870 /tools | |
parent | 7bc1fea9d36c78e783ce7d4ad28ad129ebcce435 (diff) |
xfs: remove unneeded return value check for *init_cursor()
Since *init_cursor() can always return a valid cursor, the NULL check
in caller is unneeded. So clean them up.
This also keeps the behavior consistent with other callers.
Signed-off-by: Joseph Qi <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions