Unused code.

Pointed by static analysis. In my experience, they can be safely removed.