diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index 3289219f981fed291f5f24c78e809ab543062772..a3205497b8308b7d71d21340c39cac8a573cbc56 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -458,7 +458,6 @@ plane_immutable_zpos(igt_display_t *display, igt_pipe_t *pipe,
 			continue;
 
 		zpos = igt_plane_get_prop(temp, IGT_PLANE_ZPOS);
-		igt_assert_lt(zpos, n_planes);
 
 		plane_ptr[zpos] = temp;
 	}