Remove an unused variable and function.