Remove unused argument

This looks to have been the product of the function being copypasta'ed when it was added. Fixes #12359.