Trivial cleanup for XArray. No functional change. Wei Yang (9): XArray: fix comment on Zero/Retry entry XArray: simplify the calculation of shift XArray: handle a NULL head by itself XArray: don't expect to have more nr_values than count XArray: entry in last level is not expected to be a node XArray: internal node is a xa_node when it is bigger than XA_ZERO_ENTRY XArray: the NULL xa_node condition is handled in xas_top XArray: take xas_error() handling for clearer logic XArray: adjust xa_offset till it gets the correct node include/linux/xarray.h | 6 +++--- lib/xarray.c | 31 ++++++++++++------------------- 2 files changed, 15 insertions(+), 22 deletions(-) -- 2.23.0