Remove unnecessary function call