ma_adopt_children(new_enc);
}
-static int ma_split(struct ma_state *mas, unsigned char slot,
- unsigned char num)
+static int ma_split(struct ma_state *mas, unsigned char slot)
{
struct maple_node *full = mt_to_node(mas->node);
unsigned char split, p_slot = 0, p_end = 0;
/* Must split the parent */
ma_encoded_parent(mas);
mas_update_limits(mas, p_slot);
- split = ma_split(mas, p_slot, p_end);
+ split = ma_split(mas, p_slot);
if (mas_is_err(mas))
return 0;
if (split < p_slot)
n_end++;
if (n_end > MAPLE_RANGE64_SLOTS - 1) {
- unsigned char split = ma_split(mas, slot, o_end);
+ unsigned char split = ma_split(mas, slot);
if (mas_is_err(mas))
return 0;