Removing an unused function argument