[igt-dev] [V4 i-g-t 10/24] tests/i915/kms_mmap_write_crc: Avoid closing the closed fd
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Mon Jun 26 05:10:17 UTC 2023
Avoid closing the closed fd.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
tests/i915/kms_mmap_write_crc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/i915/kms_mmap_write_crc.c b/tests/i915/kms_mmap_write_crc.c
index 87f511531..07bd542dc 100644
--- a/tests/i915/kms_mmap_write_crc.c
+++ b/tests/i915/kms_mmap_write_crc.c
@@ -309,6 +309,5 @@ igt_main_args("n", NULL, NULL, opt_handler, NULL)
close(data.drm_fd);
igt_stop_helper(&hog);
- close(data.drm_fd);
}
}
--
2.40.0
More information about the igt-dev
mailing list