Removed unused parameter from function call