Removed unused function
Code style fix