From: Lyude Paul <[email protected]>

No need to use igt_assert_eq() here now that do_or_die() uses
igt_assert_eq()

Signed-off-by: Lyude Paul <[email protected]>
Cc: Martin Peres <[email protected]>
Cc: Ben Skeggs <[email protected]>
Cc: Jeremy Cline <[email protected]>
---
 lib/drmtest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/drmtest.h b/lib/drmtest.h
index 789452ea..c4b15a26 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -125,7 +125,7 @@ bool is_vc4_device(int fd);
  * successfully executed.
  */
 #define do_ioctl(fd, ioc, ioc_data) do { \
-       igt_assert_eq(igt_ioctl((fd), (ioc), (ioc_data)), 0); \
+       do_or_die(igt_ioctl((fd), (ioc), (ioc_data))); \
        errno = 0; \
 } while (0)
 
-- 
2.29.2

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to