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>
This commit is contained in:
Daniel Vetter 2013-07-15 10:59:55 +02:00
parent c28b898cd4
commit 1a3c7e3493

View File

@ -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);