Removes uneeded function call