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

Gupta, Anshuman anshuman.gupta at intel.com
Tue Nov 1 06:45:02 UTC 2022



> -----Original Message-----
> From: Vivi, Rodrigo <rodrigo.vivi at intel.com>
> Sent: Tuesday, November 1, 2022 1:29 AM
> To: igt-dev at lists.freedesktop.org
> Cc: Vivi, Rodrigo <rodrigo.vivi at intel.com>; Gupta, Anshuman
> <anshuman.gupta at intel.com>
> Subject: [PATCH i-g-t 1/2] tools/intel_pm_rpm: Remove unused devid.
> 
> 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>
Reviewed-by: Anshuman Gupta <anshuman.gupta 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