Remove pointless function

Authored by demon.