Remove unused struct members from drmmode_display.h

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer
2017-05-02 17:58:55 +09:00
committed by Michel Dänzer
parent 82fa615f38
commit 462ac3341e
2 changed files with 0 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;