Remove unused function and commented line.