summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-15 10:59:55 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-15 10:59:55 +0200
commit1a3c7e349389bbb28bbf98b4738ab32c3cacd756 (patch)
treef01d469ec510661e0192452b23df384a08803b6e
parentc28b898cd48f389f5f830ae1fdbeeccbcef5a5af (diff)
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 <daniel.vetter@ffwll.ch>
-rw-r--r--tests/prime_nv_api.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/prime_nv_api.c b/tests/prime_nv_api.c
index 1c1ecd1d..1785fda1 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);