summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-05-02 17:58:55 +0900
committerMichel Dänzer <michel@daenzer.net>2017-05-10 18:12:55 +0900
commit462ac3341e5bfbded9086d3d9043821d19352b3e (patch)
treef037e3e615639dc3fc9247a3bbfe44028d6127ae
parent82fa615f38137add75f9cd4bb49c48dd88de916f (diff)
Remove unused struct members from drmmode_display.h
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--src/drmmode_display.c1
-rw-r--r--src/drmmode_display.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 5b24314..9996d2f 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -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;
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index fa15a4f..2d5698f 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -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;