mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-29 02:36:29 +00:00
kms_panel_fitting: Remove un-read variable.
Remove devid from data_t since it is never read. Also remove one assignment to devid. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
This commit is contained in:
parent
26afcfc002
commit
761ac544e7
@ -29,7 +29,6 @@
|
||||
IGT_TEST_DESCRIPTION("Test display panel fitting");
|
||||
|
||||
typedef struct {
|
||||
uint32_t devid;
|
||||
int drm_fd;
|
||||
igt_display_t display;
|
||||
igt_crc_t ref_crc;
|
||||
@ -225,7 +224,6 @@ igt_simple_main
|
||||
data.drm_fd = drm_open_driver(DRIVER_INTEL);
|
||||
igt_require_pipe_crc();
|
||||
igt_display_init(&data.display, data.drm_fd);
|
||||
data.devid = intel_get_drm_devid(data.drm_fd);
|
||||
|
||||
test_panel_fitting(&data);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user