[refactor] Remove useless variables

Remove two useless variables with generic names. This simplifies the code and make it more readable.