]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: remove sanity check from mas_wr_slot_store()
authorWei Yang <richard.weiyang@gmail.com>
Thu, 17 Oct 2024 01:58:09 +0000 (01:58 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:14 +0000 (21:29 -0700)
commit3cca20d1a8272f59c144cec91432d1957f36f153
treef89dc2f93d0fdc9ee40d3b036e2dca3d564cf9f2
parentb7972b0508158a8c089b47e3282246a50ad9f2cd
maple_tree: remove sanity check from mas_wr_slot_store()

After commit 5d659bbb52a2 ("maple_tree: introduce mas_wr_store_type()"),
the check here is redundant.

Let's remove it.

Link: https://lkml.kernel.org/r/20241017015809.23392-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c