Update code style
remove unneeded variable