From 13f359fa838a9b5e855fbbee9c2f79bad84a1ace Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 24 Jun 2019 21:20:06 +0200 Subject: [PATCH] modesetting: Remove obsolete, unused msPixmapPrivate declaration and macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the pixmapPrivateKeyRec was moved from a global to being embedded inside the drmmode_rec these 2 where missed, clean them up. Reviewed-by: Michel Dänzer Signed-off-by: Hans de Goede --- hw/xfree86/drivers/modesetting/drmmode_display.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.h b/hw/xfree86/drivers/modesetting/drmmode_display.h index cde661450..f4e5e508e 100644 --- a/hw/xfree86/drivers/modesetting/drmmode_display.h +++ b/hw/xfree86/drivers/modesetting/drmmode_display.h @@ -236,10 +236,6 @@ typedef struct _msPixmapPriv { Bool notify_on_damage; /* if sink has requested damage notification */ } msPixmapPrivRec, *msPixmapPrivPtr; -extern DevPrivateKeyRec msPixmapPrivateKeyRec; - -#define msPixmapPrivateKey (&msPixmapPrivateKeyRec) - #define msGetPixmapPriv(drmmode, p) ((msPixmapPrivPtr)dixGetPrivateAddr(&(p)->devPrivates, &(drmmode)->pixmapPrivateKeyRec)) Bool drmmode_is_format_supported(ScrnInfoPtr scrn, uint32_t format,