cleanup

a little code cleanup to remove an unused variable