remove redundant var
Merge pull request #10535 from vipulnsward/remove_var

remove redundant var