diff options
Diffstat (limited to 'tests/i915/i915_hangman.c')
-rw-r--r-- | tests/i915/i915_hangman.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/i915/i915_hangman.c b/tests/i915/i915_hangman.c index 4e515e3a..9a1d5889 100644 --- a/tests/i915/i915_hangman.c +++ b/tests/i915/i915_hangman.c @@ -262,14 +262,12 @@ igt_main igt_skip_on_simulation(); igt_fixture { - int idx; - device = drm_open_driver(DRIVER_INTEL); igt_require_gem(device); hang = igt_allow_hang(device, 0, HANG_ALLOW_CAPTURE); - sysfs = igt_sysfs_open(device, &idx); + sysfs = igt_sysfs_open(device); igt_assert(sysfs != -1); igt_require(has_error_state(sysfs)); |