On Thu, Dec 03, 2020 at 04:33:58PM +0800, Joseph Qi wrote: > Since xfs_rmapbt_init_cursor() can always return a valid cursor, the > NULL check in caller is unneeded. > This also keeps the behavior consistent with other callers. > > Signed-off-by: Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>