How would you simplify a nested for loop?

I’m wondering how you would simplify a nested for loop for better performance, like for example, how would you simplify something like this which generates tiles?


for (int y = 0; y < height; y++)
{
    for (int x = 0; x < width; y++)
    {
        makeTile(x, y);
    }
}

Is there a way to simplify that into one loop?