Remove unused function definition