remove unused function

google says this isn't used in other projects either