Remove unused struct members from drmmode_display.h
PATCH 1/1 Remove unused struct members from drmmode_display.h
From: Michel Dänzer <[email protected]>
--- src/drmmode_display.c | 1 - src/drmmode_display.h | 3 --- 2 files changed, 4 deletions(-)
src/drmmode_display.c +0 -1
@@ -2370,7 +2370,6 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp)xf86CrtcConfigInit (pScrn, &drmmode_xf86crtc_config_funcs); drmmode->scrn = pScrn; - drmmode->cpp = cpp; mode_res =drmModeGetResources (pAMDGPUEnt->fd);if (!mode_res)return FALSE;
src/drmmode_display.h +0 -3
@@ -38,8 +38,6 @@ typedef struct { unsigned fb_id; - drmModeFBPtr mode_fb; - int cpp; ScrnInfoPtr scrn; #ifdef HAVE_LIBUDEV struct udev_monitor *uevent_monitor;
@@ -55,7 +53,6 @@ typedef struct { } drmmode_rec, *drmmode_ptr; typedef struct { - int fd; unsigned old_fb_id; int flip_count; void *event_data;
Signature · 6 lines
2.11.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20170510091353.7061-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 11 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel Dänzer
Sent: Wednesday, May 10, 2017 5:14 AM
To: [email protected]
Subject: [PATCH xf86-video-amdgpu] Remove unused struct members fromdrmmode_display.hFrom: Michel Dänzer <[email protected]>
Signed-off-by Michel Dänzer <[email protected]>
Quoted 42 lines
--- src/drmmode_display.c | 1 - src/drmmode_display.h | 3 --- 2 files changed, 4 deletions(-)src/drmmode_display.c +0
-1@@ -2370,7 +2370,6 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp) xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs); drmmode->scrn = pScrn; - drmmode->cpp = cpp; mode_res =drmModeGetResources (pAMDGPUEnt->fd);if (!mode_res)src/drmmode_display.c +0
-0return FALSE;src/drmmode_display.h +0
-4@@ -38,8 +38,6 @@ typedef struct { unsigned fb_id; - drmModeFBPtr mode_fb; - int cpp; ScrnInfoPtr scrn; #ifdef HAVE_LIBUDEV struct udev_monitor *uevent_monitor;@@ -55,7 +53,6 @@ typedef struct { } drmmode_rec, *drmmode_ptr; typedef struct { - int fd; unsigned old_fb_id; int flip_count; void *event_data; --2.11.0
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx