Remove unused code

Third parameter is never used.