[minor] Remove some unused variables