[lint] remove obsolete exc variable

Change-Id: I77d8ec49d68e495c07f43a0c3d0a069a76815c87