Remove unneeded method.
Remove unneeded method.

The only nodes passed in were pytree.Leaf nodes. So simplify and inline the
method.

ambv/yapf,wklken/yapf,sbc100/yapf,sbc100/yapf,google/yapf,google/yapf