Remove unused variable assignment