]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Xarray: remove repeat check in xas_squash_marks()
authorKemeng Shi <shikemeng@huaweicloud.com>
Fri, 13 Dec 2024 12:25:22 +0000 (20:25 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 25 Jan 2025 06:47:27 +0000 (22:47 -0800)
commit1988b318b32d3a0260e05bf6643990230df35843
tree85b07b8e4e226578611261a956254d7a5728f098
parent97db889b961ef3f849813de34bd3ea5715813ed0
Xarray: remove repeat check in xas_squash_marks()

Caller of xas_squash_marks() has ensured xas->xa_sibs is non-zero.  Just
remove repeat check of xas->xa_sibs in xas_squash_marks().

Link: https://lkml.kernel.org/r/20241213122523.12764-5-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: Mattew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/xarray.c