From 1a3c7e349389bbb28bbf98b4738ab32c3cacd756 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 15 Jul 2013 10:59:55 +0200 Subject: [PATCH] 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 --- tests/prime_nv_api.c | 3 --- 1 file changed, 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);