Remove unneeded loop.