commit: remove unused inline function single_parent()