code cleanup: remove unneeded variable