Remove legacy code

It doesn't look like the array key is needed here, only the array value for the next 2 lines.