frontend: Remove redundant for loop

Change-Id: Ic5f967b18eddb24ae10c3365816b1756f373e3d2
Signed-off-by: Tal Nisan <tnisan@redhat.com>