Remove trailing whitespace
Remove blank lines
Remove unused var