diff options
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r-- | tests/kms_flip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index b43e7712..3d6fe948 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1332,8 +1332,7 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs, igt_info("\n%s: PASSED\n\n", test_name); out: - if (o->fb_ids[2]) - igt_remove_fb(drm_fd, &o->fb_info[2]); + igt_remove_fb(drm_fd, &o->fb_info[2]); igt_remove_fb(drm_fd, &o->fb_info[1]); igt_remove_fb(drm_fd, &o->fb_info[0]); |