Mm/slqb: replace deprecated function