From: Daniel Vetter Date: Mon, 15 Jul 2013 08:59:55 +0000 (+0200) Subject: tests/prime_nv_api: Drop bogus check from import-twice X-Git-Tag: intel-gpu-tools-1.4~319 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a3c7e349389bbb28bbf98b4738ab32c3cacd756;p=platform%2Fupstream%2Fintel-gpu-tools.git tests/prime_nv_api: Drop bogus check from import-twice It's purely accidental that importing that same bo to different drm nouveau fds yields the same handle. Signed-off-by: Daniel Vetter --- diff --git a/tests/prime_nv_api.c b/tests/prime_nv_api.c index 1c1ecd1..1785fda 100644 --- a/tests/prime_nv_api.c +++ b/tests/prime_nv_api.c @@ -96,9 +96,6 @@ static int test1(void) close(prime_fd); if (ret < 0) goto out; - - if (nvbo->handle != nvbo2->handle) - ret = -1; out: nouveau_bo_ref(NULL, &nvbo2); nouveau_bo_ref(NULL, &nvbo);