[Minor] remove the unused private variables
Merge pull request #3596 from SofHad/unused-variables

[Minor] remove the unused private variables