input: remove unused function