Remove unused param from worker function