Fix issues found by flake8

Fix overlong lines, remove unused imports, remove unused
variables

Change-Id: Ic30640891af5413d57c82a1666f81518168e4a88
Merge "Fix issues found by flake8"