From a94cb400d15b8c78dc04148cbd8db8e5ec8364b5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 1 Jul 2010 09:11:36 -0400 Subject: Delete unused miDbe screen private private datatype MiDbeScreenPrivPrivRec is not used in the server. Remove it, along with the MI_DBE_SCREEN_PRIV_PRIV macro that tried to use it. Signed-off-by: Keith Packard Reviewed-by: Magnus.Kessler --- dbe/midbestr.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/dbe/midbestr.h b/dbe/midbestr.h index ae9f206fc..a47d8d9f1 100644 --- a/dbe/midbestr.h +++ b/dbe/midbestr.h @@ -48,11 +48,6 @@ #define MI_DBE_WINDOW_PRIV_PRIV_FROM_WINDOW(pWin)\ MI_DBE_WINDOW_PRIV_PRIV(DBE_WINDOW_PRIV(pWin)) -#define MI_DBE_SCREEN_PRIV_PRIV(pDbeScreenPriv) \ - (!(pDbeScreenPriv) ? NULL : (MiDbeScreenPrivPrivPtr) \ - dixLookupPrivate(&(pDbeScreenPriv)->devPrivates, miDbeScreenPrivPrivKey)) - - /* TYPEDEFS */ typedef struct _MiDbeWindowPrivPrivRec @@ -80,16 +75,5 @@ typedef struct _MiDbeWindowPrivPrivRec } MiDbeWindowPrivPrivRec, *MiDbeWindowPrivPrivPtr; -typedef struct _MiDbeScreenPrivPrivRec -{ - /* Place machine-specific fields in here. - * Since this is mi code, we do not really have machine-specific fields. - */ - - /* Pointer back to our screen private with which we are associated. */ - DbeScreenPrivPtr pDbeScreenPriv; - -} MiDbeScreenPrivPrivRec, *MiDbeScreenPrivPrivPtr; - #endif /* MIDBE_STRUCT_H */ -- cgit v1.2.3