Remove unneeded function argument