Remove unused code

The third parameter isn't used within that function. See the function below.