Remove unnecessary function call.

Remove function that is no longer required.