[igt-dev] [PATCH i-g-t 1/2] tools/intel_pm_rpm: Remove unused devid.

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Oct 31 19:58:58 UTC 2022


Just a small clean-up. No functional change.

Cc: Anshuman Gupta <anshuman.gupta at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 tools/intel_pm_rpm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/intel_pm_rpm.c b/tools/intel_pm_rpm.c
index 53ad252d..05d7f6fb 100644
--- a/tools/intel_pm_rpm.c
+++ b/tools/intel_pm_rpm.c
@@ -40,7 +40,6 @@
 typedef struct {
 	int drm_fd;
 	int debugfs_fd;
-	uint32_t devid;
 	drmModeResPtr res;
 	igt_display_t display;
 } data_t;
@@ -199,7 +198,6 @@ int main(int argc, char *argv[])
 	}
 
 	data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
-	data.devid = intel_get_drm_devid(data.drm_fd);
 
 	data.res = drmModeGetResources(data.drm_fd);
 	if (data.res) {
-- 
2.37.3



More information about the igt-dev mailing list