maple_tree: remove unused function
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 27 Oct 2023 08:49:44 +0000 (16:49 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 12 Dec 2023 18:56:59 +0000 (10:56 -0800)
commitd1fefa3d22447923e75ab2cd7abe302e43b77d0c
tree26488f2c4413e5723bc0382e3790fa9c3a4aef0d
parenta3c63c8c5df6406e79490456a1fc41a287676070
maple_tree: remove unused function

The function are defined in the maple_tree.c file, but not called
elsewhere, so delete the unused function.

lib/maple_tree.c:689:29: warning: unused function 'mas_pivot'.

Link: https://lkml.kernel.org/r/20231027084944.24888-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7064
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c