fix compiler warning

Removed unused variable

Change-Id: I612f75b006a6e4803e8fe22800cde0dc66a6462b