Unused code.

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