ppp: simplify code using existing functions

No match.