}
static int ma_split(struct ma_state *mas, unsigned char slot,
- unsigned char num, int depth)
+ unsigned char num)
{
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, 1);
+ split = ma_split(mas, p_slot, p_end);
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, 0);
+ unsigned char split = ma_split(mas, slot, o_end);
if (mas_is_err(mas))
return 0;