Save 2 LOC by removing redundant loop.