Remove unused variable in foreach loop

Change-Id: Ic127d8d43b9e8d27d8b1af459a47a78930f0b723