diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index c254ae036f18fe5f7ceaee5589de7f3501d80f7e..7786291ba229d93190516013863a933cc9eeeb86 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -592,7 +592,7 @@ static int grow_gnttab_list(unsigned int more_frames)
 	return 0;
 
 grow_nomem:
-	for ( ; i >= nr_glist_frames; i--)
+	while (i-- > nr_glist_frames)
 		free_page((unsigned long) gnttab_list[i]);
 	return -ENOMEM;
 }