tests/prime_nv_api: Drop bogus check from import-twice
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Jul 2013 08:59:55 +0000 (10:59 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Jul 2013 08:59:55 +0000 (10:59 +0200)
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>
tests/prime_nv_api.c

index 1c1ecd1..1785fda 100644 (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);