delete two unused functions
Merge pull request #2055 from bukzor/buck-del-unused-functions

delete two unused functions