Remove unused variable declarations.